Issues Related to FHIR RESTful Interactions

Find troubleshooting steps for HTTP error codes returned during FHIR RESTful interactions.

Create a FHIR Resource

For the create request, follow the troubleshooting steps for the HTTP status code returned:

HTTP Code

Scenario

Description

Troubleshooting Steps

400

Bad Request

Client error

Check the response body about the error: If there is a description, resolve the error and retry the request. If there are no descriptions, raise a ticket.

404

Missing Functional or Instance-Based Authorization or No Data Found

Authorization error

Authorization or the data does not exist in the system: Ensure you have proper authorization to access the system by checking the permission assignments and retry the request.

422

Unprocessable Entity

Validation error

Check the response body about the error: The response body contains the exact location and description of the error. Resolve the error based on the description and retry the request.

500

Internal Server Error

Server encountered an internal error.

Contact the system administrator by raising a ticket.

For an HTTP code 404, see Issues Related to Authorization.

For an HTTP code 422, see Issues Related to FHIR Validations.

Create a FHIR Resource with Conditional Create

For the conditional create request, follow the troubleshooting steps for the HTTP status code returned:

HTTP Code

Scenario

Description

Troubleshooting Steps

404

Missing Functional or Instance-Based Authorization or No Data Found

Authorization error

Authorization or the data does not exist in the system: Ensure you have proper authorization to access the system by checking the permission assignments and retry the request.

412

Multiple Matches

Request failed.

Check the response body about the error: If there is a description, resolve the error and retry the request. If there are no descriptions, raise a ticket.

422

Unprocessable Entity

Validation error

Check the response body about the error: The response body contains the exact location and description of the error. Resolve the error based on the description and retry the request.

For an HTTP code 404, see Issues Related to Authorization.

For an HTTP code 422, see Issues Related to FHIR Validations.

Read a FHIR Resource

For the read request, follow the troubleshooting steps for the HTTP status code returned:

HTTP Code

Scenario

Description

Troubleshooting Steps

404

Missing Functional or Instance-Based Authorization or No Data Found

Authorization error

Authorization or the data does not exist in the system: Ensure you have proper authorization to access the system by checking the permission assignments and retry the request.

410

Resource Deleted

The resource is deleted.

Check the response body about the error: If there is a description, resolve the error and retry the request. If there are no descriptions, raise a ticket.

422

Unprocessable Entity

Validation error

Check the response body about the error: The response body contains the exact location and description of the error. Resolve the error based on the description and retry the request.

For an HTTP code 404, see Issues Related to Authorization.

For an HTTP code 422, see Issues Related to FHIR Validations.

Update a FHIR Resource

For the update request, follow the troubleshooting steps for the HTTP status code returned:

HTTP Code

Scenario

Description

Troubleshooting Steps

404

Missing Functional or Instance-Based Authorization or No Data Found

Authorization error

Authorization or the data does not exist in the system: Ensure you have proper authorization to access the system by checking the permission assignments and retry the request.

422

Unprocessable Entity

Validation error

Check the response body about the error: The response body contains the exact location and description of the error. Resolve the error based on the description and retry the request.

For an HTTP code 404, see Issues Related to Authorization.

For an HTTP code 422, see Issues Related to FHIR Validations.

For the If-Match header request, follow the troubleshooting steps for the HTTP status code returned:

HTTP Code

Scenario

Description

Troubleshooting Steps

400

Bad Request

The If-Match header is not found.

Check the response body about the error: If there is a description, resolve the error by adding the If-Match header and retry the request. If there are no descriptions, raise a ticket.

409

Conflict Interaction

Conflict If-Match header and the update request cannot be performed.

Retry with the latest version of the If-Match header.

412

Multiple Matches

The resource version ID does not match.

Enter a valid If-Match header.

Update a FHIR Resource with Conditional Update

For the conditional update request, follow the troubleshooting steps for the HTTP status code returned:

HTTP Code

Scenario

Description

Troubleshooting Steps

404

Missing Functional or Instance-Based Authorization or No Data Found

Authorization error

Authorization or the data does not exist in the system: Ensure you have proper authorization to access the system by checking the permission assignments and retry the request.

422

Unprocessable Entity

Validation error

Check the response body about the error: The response body contains the exact location and description of the error. Resolve the error based on the description and retry the request.

For an HTTP code 404, see Issues Related to Authorization.

For an HTTP code 422, see Issues Related to FHIR Validations.

For the If-Match header request, follow the troubleshooting steps for the HTTP status code returned:

HTTP Code

Scenario

Description

Troubleshooting Steps

400

Bad Request

The If-Match header is not found.

Check the response body about the error: If there is a description, resolve the error by adding the If-Match header and retry the request. If there are no descriptions, raise a ticket.

409

Conflict Interaction

Conflict If-Match header and the update request cannot be performed.

Retry with the latest version of the If-Match header.

412

Multiple Matches

The resource version ID does not match.

Enter a valid If-Match header.

Delete a FHIR Resource

For the delete request, follow the troubleshooting steps for the HTTP status code returned:

HTTP Code

Scenario

Description

Troubleshooting Steps

404

Missing Functional or Instance-Based Authorization or No Data Found

Successive read of deleted record or authorization error

The data or authorization does not exist in the system: Ensure you have proper authorization to access the system by checking the permission assignments and retry the request.

409

Record Referencing to Another Resource

Deletion fails because of referential integrity validation error.

Referential integrity validation failed. Delete the dependent resources first.

For an HTTP code 404, see Issues Related to Authorization.