Error codes ​

All Edifix API error responses use the same JSON error structure:

json
{
  "errors": [
    { "error_code": "<NNNN>", "error_message": "<message>" }
  ]
}

The errors array may contain multiple entries when more than one input parameter fails validation at the same time (for example, an invalid pubmed_flag together with an invalid crossref_flag). The HTTP status of the response always matches the first entry's status.

The error_code is a stable four-digit identifier. The error_message is human-readable, and may include server-appended detail (for example, the offending header value).

TIP

Always match on error_code, not message text—error messages may change without notice.

The same list of codes appears in the ErrorResponse schema in the API reference.

Catalogue ​

Codes appear in numeric order, grouped by HTTP status.

The Message column is the literal error_message the API returns. Where the server fills in a value, the message shows a placeholder: <Accept header>, <api_token>, <HTTP method>, <Content-Type>, <output_format> and <results_view> stand for the value your request sent, <path> for the path it requested, and <name> for a service name. The angle brackets in 0051 are part of its message.

0002, 0040, 0047, 0048 and 0049 are not sent as an error response. They describe a failed job, and appear in its reason_of_failure from check_job and list_jobs.

400 Bad Request ​

CodeNameMessage
0024Invalid JSONThe request is not valid JSON.
0025Non-UTF-8 inputThe request is not acceptable UTF-8.

0024 is sent as a single object, {"error_code": "0024", "error_message": "The request is not valid JSON."}, without the errors array.

401 Unauthorized ​

CodeNameMessage
0004Login errorThe server was unable to successfully authenticate your credentials.
0026Auth token invalidUnable to process your request because your authorization token is invalid.
0027Auth token expiredUnable to process your request because your authorization token has expired.
0034Auth token missingUnable to process your request because your authorization token is missing.

403 Forbidden ​

CodeNameMessage
0029Job ID invalidUnable to process request because the job ID is invalid or inaccessible for this user.

404 Not Found ​

CodeNameMessage
0023Deprecated URL extensionUnable to process request because URL-encoded extensions are deprecated.
0035Invalid endpointThe endpoint is invalid: '<path>'

405 Method Not Allowed ​

CodeNameMessage
0019Invalid HTTP methodUnable to process request because the HTTP method is invalid for this endpoint: '<HTTP method>'

406 Not Acceptable ​

CodeNameMessage
0003Invalid Accept headerUnable to process request because the Accept header is invalid: '<Accept header>'
0007Pass-through token invalidThe API pass-through token is invalid: '<api_token>'
0008Pass-through token inactiveThe API pass-through token is no longer active:
0009Subscription inactiveUnable to process references because your account has no active subscription.
0010No remaining referencesUnable to process references because your account has no remaining references credits.
0011API access deniedUnable to process references because your account has no API access.
0012Job validation errorThe server encountered an unexpected issue while validating your job.
0013Insufficient referencesUnable to process references because your account has insufficient reference credits.
0014Input refs invalidThe entered references are invalid. The input references field may not be left blank.
0015Stylesheet invalidThe entered reference stylesheet is invalid.
0016Editorial style invalidThe entered editorial style is invalid. Supply one of the supported editorial style codes; the field may not be left blank.
0017PubMed value invalidThe entered PubMed value is invalid. The value must be filled in as `true` or `false`.
0018Crossref value invalidThe entered Crossref value is invalid. The value must be filled in as `true` or `false`.
0020Invalid Content-TypeUnable to process request because the Content Type header is invalid: '<Content-Type>'
0021Remove-line-breaks invalidThe entered Remove Line Breaks Flag value is invalid. The value must be filled in as `true` or `false`.
0022Book-processing invalidThe entered Book Processing value is invalid. The value must be filled in as `true` or `false`.
0030Output format invalidThe entered value of parameter output_format is invalid: <output_format>
0031Results view invalidThe entered value of parameter results_view is invalid: <results_view>
0032Job not accountedUnable to process request because the job is not in the accounted state.
0033Too many sessionsUnable to process references because your account has exceeded the maximum number of concurrent sessions.
0036Upload too largeUnable to process your request because the uploaded file is too large. Please provide a file that is under 50mb.
Unable to process your request because the uploaded content is too large. Please provide a reference list that is under 1mb.
0037File name too longUnable to process your request because the file name of the uploaded file is too long.
0038File type invalidUnable to process your request because the uploaded file type is invalid.
0039No file uploadedUnable to process your request because no file was uploaded.
0040No references foundUnable to locate or parse any references.
0042No file-upload accessUnable to process references because your subscription does not include file upload access.
0043Output format forbiddenUnable to process your request because the requested output format is not available in your subscription.
0044Output XML invalidUnable to process your request because the output XML is not valid.
0046Timeout value invalidThe entered value of parameter `timeout_time` is invalid. The value must be a positive integer (seconds).
0047Document password-protectedUnable to process your request because the uploaded document is password-protected. Remove the password and resubmit the document.
0048Document write-protectedUnable to process your request because the uploaded document is write-protected. Remove the protection and resubmit the document.
0049Document failed virus scanUnable to process your request because the uploaded document failed a virus scan.
0050Journal abbr without stylesheetA journal-abbreviation file may only be sent with a custom reference stylesheet.
0051Journal abbr file invalidThe entered journal-abbreviation file is invalid. It must contain a `<Custom journals>` or `<Bad journals>` section.
0052Journal abbr not declaredThe reference stylesheet sent with a journal-abbreviation file must declare an `add-abbr-file` attribute.
0053Stylesheet too largeThe entered reference stylesheet is too large. It must be 256 KB or smaller.
0054Job name too longThe entered job name is too long. It must be 255 characters or fewer.
0055Service modes invalidThe entered service_modes value is invalid. It must map a service to a mode, for example `{"pubmed": "link"}`, or `service_modes[pubmed]=link` in a form.
0056Service mode unknown serviceservice_modes contains an unknown service: <name>
0057Service mode invalidservice_modes[<name>] must be link, add or merge

Notes on the 406 codes:

  • 0007 is not returned at present: a pass-through token that does not exist gets 0001 with HTTP 500 instead.
  • 0008 and 0044 are not returned by the current API.
  • 0020: <Content-Type> is the media type only, without parameters such as ; charset=utf-8, and is empty ('') when the header is missing.
  • 0031: get_job appends the results_view value sent. From export_job the message ends with the colon and space, with nothing after them.
  • 0036: the first message is for a Word file over 50 MB (create_job_from_file), the second for references text over 1 MB (create_job).
  • 0037 is returned for a file name longer than 255 characters, extension included.

408 Request Timeout ​

CodeNameMessage
0002Job timeoutThe server encountered a timeout while processing your job.

429 Too Many Requests ​

CodeNameMessage
0028Rate limit exceededUnable to process references because your account has hit the rate limit threshold for this endpoint. See the response headers for rate limit reset details.

See Rate limiting for the limit specifics and the response headers that accompany this error.

500 Internal Server Error ​

CodeNameMessage
0001Standard errorThe server encountered an unexpected issue while processing your references.

504 Gateway Timeout ​

CodeNameMessage
0045File upload timeoutThe server timed out while transferring your file to our cloud storage provider.

Retired codes ​

0005 (account unverified) and 0006 (account suspended) are no longer returned and will not be reused. An unverified or suspended account now gets 0004, the same answer as a wrong username or password, so a response does not reveal an account's state to someone who holds its password.

Multiple errors in one response ​

Edifix validates parameters for create_job and create_job_from_file before responding. A response with more than one entry in errors is normal, and each entry is a separate validation error:

json
{
  "errors": [
    {
      "error_code": "0017",
      "error_message": "The entered PubMed value is invalid. The value must be filled in as `true` or `false`."
    },
    {
      "error_code": "0018",
      "error_message": "The entered Crossref value is invalid. The value must be filled in as `true` or `false`."
    }
  ]
}

The HTTP status here is 406, taken from the first error.

Last updated: 6 Nov 2026, 22:07:47
Loading navigation...