Skip to main content

Errors

Errors that come from API Key Manager itself (as opposed to Jira or Confluence) use three status codes.

StatusMeaning
400The request is malformed.
403The key is not allowed to make this request.
500Something went wrong inside the app.

400 Bad Request​

Returned when:

  • the apikey header is missing,
  • the body is not valid JSON,
  • the body lacks options or url,
  • (Stored JQL keys) a parameter value is malformed or out of range; the JSON body {"errorMessages": [...]} explains which, see Stored JQL errors,
  • (Confluence) Atlassian answered Unauthorized; scope does not match. The message is Confluence request failed. Please verify your request. This usually means the endpoint is outside what the app is allowed to access.

The body is a short message such as Bad Request, or Bad Request Syntax in Confluence.

note

For a body without options, the Jira app answers 400; the Confluence app may answer 500 instead.

403 Forbidden​

Returned when the key does not allow the request:

  • the key does not exist, has been revoked, or has expired,
  • the method is not in the key's allowed methods,
  • the endpoint is not covered by the key's allowed endpoints,
  • (Create Issue keys) the project in the request is not the key's project,
  • (Stored JQL keys) the request sends a parameter that is fixed, unknown or duplicated,
  • (Confluence) the app's license is inactive: the message is Invalid License.

The body is Unauthorized (Jira) or Forbidden (Confluence), or for Stored JQL keys a JSON errorMessages list.

Why so vague?

For ordinary rejections the app deliberately does not say which check failed, so that someone probing with a guessed or stolen key learns nothing. To find the reason, compare the key's row in the app with your request, see Troubleshooting.

500 Internal Server Error​

An unexpected problem inside the app. Retry once; if it persists, open a request in our support portal.

Errors from Jira and Confluence​

If the request was forwarded, errors from Atlassian are returned unchanged (401, 404, 429, and so on). See Responses.