Skip to main content
The Platform API uses standard HTTP status codes to indicate whether a request succeeded. When a request fails, the response body includes an error object that describes what went wrong.

Error object

Error responses return an error object with the following fields:

Field-level errors

When request validation fails, some endpoints also return an errors object with a 422 Unprocessable Entity status. Each key is a request field, and each value is a list of messages for that field. More than one field can appear.

Status codes

Institution blocking errors

Member operations and job requests may be blocked based on the institution’s status or client_status field. For these fields and their values, see the List Institutions and Read Institution endpoint pages. When a request is blocked, the API returns 400 Bad Request. The error.type starts with institution_, and error.message is written so you can show it to end users.
When you receive a 400 for a member operation, check whether error.type starts with institution_. If it does, show error.message to the end user so they know why the operation failed.

404 errors after creating an object

A GET request sent immediately after creating an object may return 404 Not Found, even though the object was created. New objects usually become available right away, but it can occasionally take up to a second before they can be read. To avoid this error:
  • Use the create response instead of a follow-up GET. A successful create response includes the new object’s details.
  • If you need to send a GET right after creating an object, wait at least 500 milliseconds first.
  • If the 404 persists, confirm the object’s GUID and that you’re using the correct environment. If the issue continues, contact MX Support with the full request and response.