1. Home
  2. Docs
  3. API
  4. Error handling

Error handling

If an expected error has occurred, then the response includes an error message. See some possible errors below.

Revision is not found

The below error is relatively simple. The requested revision is not found. This can have two causes.

  1. The revision is deleted from the team server
  2. The revision does not exist, perhaps a typo or a revision from a different app?

You can easily verify this by checking out the teamserver in Mendix Sprintr.

{
  "IsError": true,
  "ErrorMessage": "Revision not found XX"
}

No auto check account

This error indicates that no account was set in Code review App settings to leverage the APIs. To gain access to the Mendix teamserver APIs, a Mendix account must be used that has access. Please follow the steps described in App settings to ensure your Mendix account is linked.

{
  "IsError": true,
  "ErrorMessage":"Loading revision for XXXX branch XXXX revision XXXX failed because no auto check account",
  "BooleanResult":false
}