get started

Errors

A call that fails answers with an HTTP error status and a wxrks error code that says what kind of failure it was.

For example, asking a project for a status change it cannot make:

{
  "status": 422,
  "code": "BWX-002",
  "message": "BW Error: Unsupported transition: Delivered -> Approved"
}
Error codeTypeDescriptionMessage
BWX-001System errorAn internal system error occurred.A system error occurred.
BWX-002Invalid request or business error400: a parameter or body field is missing, has the wrong type or an unaccepted value, or the body can't be read. 422: the request is well formed but a business rule refuses it.Names the parameter or field, and for an enum the accepted values.
BWX-003Parser errorA parsing error occurred.A parser error occurred.
BWX-004File format errorThe file format is not valid.The file format is not valid.
BWX-005Unsupported operationThis operation cannot be executed.This operation cannot be executed.
BWX-403ForbiddenThe user may not access the resource.Access denied, with the permission code that was checked, for example Access denied (GLOSSARY_update).
BWX-404Not foundThe resource or path does not exist.This page cannot be found.
BWX-500Internal server errorThe server could not complete the request. Try again later.Server is running short. Please try again later.

What to do