Troubleshooting medical coding
API errors
The following errors can be returned by StartMedicalCodingJob and GetMedicalCodingJob.
| Error | HTTP | Applies to | Likely cause | What to do |
|---|---|---|---|---|
|
|
400 |
Start, Get |
An input failed validation. For example, empty |
Check each field against the allowed values in Medical coding inputs. |
|
|
401 |
Start, Get |
Missing or invalid credentials, or the caller lacks a required permission. On |
Verify credentials and grant the missing permissions. See Example IAM policy. |
|
|
404 |
Get |
The |
Verify the domain ID and confirm the |
|
|
409 |
Start |
The request conflicts with the current state, commonly a |
Use a new |
|
|
429 |
Start, Get |
The request rate exceeded the quota. By default, |
Back off and retry with exponential backoff, and poll |
|
|
500 |
Start, Get |
A transient service-side error. |
Retry the request. |
Job-status issues
| Symptom | Likely cause | What to do |
|---|---|---|
|
|
The job could not be completed. |
Read |
|
Job stays |
Processing is still under way. A primary care note typically completes in about 35 seconds. |
Continue polling with backoff, up to a 30-second interval. Compare |
|
Job goes from |
Rare. A service issue kept the job from starting. |
Submit the job again with a new |
|
Can’t find the results file |
The file is in a subfolder named after the job. |
Read the URI in |
|
Duplicate jobs from retries |
Retrying |
Include a |