Discussions

Ask a Question
Back to All

Error - Supplied Authenticator is unknown.

(edited)

I was attempting to POST a new document to the DocumentReference endpoint using based on the API documentation and I got this error.

{
    "resourceType": "OperationOutcome",
    "issue": [
        {
            "severity": "error",
            "code": "processing",
            "diagnostics": "Supplied Authenticator is unknown."
        }
    ]
}

Based on the documentation it says that this field isn't required, once removed it started to give another error.

{
    "resourceType": "OperationOutcome",
    "issue": [
        {
            "severity": "error",
            "code": "exception",
            "details": {
                "text": "Unexpected error occurred."
            },
            "diagnostics": "AssignTo is null"
        }
    ]
}

I finally got it working by assigning the Practitioner that is linked to the account where the token was generated from and only then this post went through. It seems like there're some discrepancies with what is requiered.

Is there a way we can get more specific required fields and what are the required sources if needed?