↓ Skip to main content
A pen and ink drawing of a wooden card catalogue on a desk. One drawer is pulled out and full of index cards with orange and teal tabs. In front of it lie a single card with an orange tab, a brass magnifying glass and a fountain pen, beside a teal desk lamp, a rubber stamp and a stack of books.

The Error Codes of the Maximo REST API, and What Each One Means

The Maximo REST API in Practice - This article is part of a series.
Part 21: This Article
A failed REST call answers with an HTTP status and a message code. The status says what kind of failure it is. The code says what went wrong. This reference shows how to read both, where Manage explains each code, and which codes this series met, with the cause and the fix for each.

We produced every error on this page on our test system, on Manage in the MAS 9.2 series, as a user without administrator rights. A client should test the code, because a message text can change.

The shape of an error answer
#

A query with SQL in oslc.where fails. This is the full answer in lean mode:

{
  "Error": {
    "extendedError": {
      "moreInfo": {
        "href": "http://localhost/maximo/oslc/error/messages/BMXAA8744E"
      }
    },
    "reasonCode": "BMXAA8744E",
    "message": "BMXAA8744E - The OSLC query was not parsed. …",
    "statusCode": "400",
    "timestamp": "2026-10-28T12:42:32+00:00"
  }
}
FieldWhat it holds
reasonCodethe message code; the field a client should test
messagethe code again, then the text, sometimes with a nested cause
statusCodethe HTTP status, as a string
timestampwhen the error happened, in UTC
extendedError.moreInfo.hrefa link to the explanation of the code

Two traps sit in this shape:

  • statusCode is a string. Compare it with "400". The bulk answers of the bulk article carry their status as a string too.
  • Without lean=1 the names change. The object is oslc:Error, the code is spi:reasonCode and the status is oslc:statusCode. A client that reads both shapes is safe:
const e = body.Error ?? body["oslc:Error"];
const code = e?.reasonCode ?? e?.["spi:reasonCode"];

Where Manage explains a code
#

The link in moreInfo answers with the explanation of the code. Take its path and call it on your own host, because the host in the link comes from a system property and is often localhost:

GET /maximo/api/error/messages/BMXAA4216E?lean=1
{
  "msggroup": "system",
  "msgkey": "unknownobject",
  "explanation": "… The requested object is not provided by the
    system. Make sure the object is registered in the server metadata.",
  "adminresponse": "Gather the logs from the <HOME> directory and
    determine where and why the error is thrown.",
  "displaymethod": "MSGBOX"
}

msggroup and msgkey name the message in the Messages dialog of the Database Configuration application, where an administrator can read and change it. An unknown code answers 500, so the route only helps with a code that Manage really sent.

Reading a code
#

A code such as BMXAA8744E has three parts:

  • BMXAA is the prefix of Maximo’s own messages. The ticket rules answer with CTGRD, see the bulk article.
  • The number identifies the message.
  • The last letter is the severity: E for an error, W for a warning.

A warning can still stop the request. BMXAA8229W, the record was changed by someone else, answers 412 and saves nothing.

Read the code, and treat the text as a hint. Some texts point at the wrong place. BMXAA9524E, a duplicate transaction id, names a number that is the record’s internal id, and it ends with the unfilled placeholder {3}.

What each HTTP status means here
#

StatusMeaning in the REST APIExample code
200the request ran; a read or an update with properties
201a record was created; Location names it
204an update, delete or action ran, with no body
302/maximo/oslc sent the caller to the MAS login
400Manage refused the request: syntax, a value, a rulemost codes below
403no valid credentials on /maximo/apiBMXAA7901E
404the object structure or the record does not existBMXAA4216E, BMXAA8727E
405the method does not apply to this URIBMXAA8815E
409the transaction id was used beforeBMXAA9524E
412the record changed since it was readBMXAA8229W
500an error inside Manage, often a missing headerBMXAA1649E
501the HTTP method PATCH

Two answers carry no error at all and still mean that something is wrong. A 302 sends a JSON client to an HTML login page, see the routes article. A 200 or 201 can hide a value that was never saved, see the field notes.

Codes when you read
#

CodeStatusCauseFix
BMXAA8744E400oslc.where is not OSLC syntax, for example SQL quoteswrite attr="value", see the where clause
BMXAA8781E400an unknown attribute in oslc.wherecheck the name in the JSON schema
BMXAA9244E400rel.<name> in oslc.select without bracesadd the attributes, rel.openwo{wonum}
BMXAA9243E400two properties of one record want the same namerename one with --
BMXAA8741E400savedQuery with a name that does not exist, or in the wrong casecopy the name from apimeta
BMXAA9246E400a saved query with parameters, a parameter missingadd sqp:<name>=<value>
BMXAA9686E400savedQuery=kpi: with an unknown KPIcheck the name in the KPI Manager
BMXAA8763E400oslc.searchTerms on a structure without search attributesadd searchAttributes
BMXAA9562E400an unknown name in searchAttributesuse an attribute of the main object
BMXAA4216E404the object structure in the URI does not existcheck the name; it is not case sensitive

The articles on selecting and saved queries show each case in full.

Codes when you write
#

CodeStatusCauseFix
BMXAA9233E400the body is no valid JSONcheck the body; the message names line and column
BMXAA4129E400a create with a key that existsupdate the record instead
BMXAA4153E400an unknown site in a createuse a site of your system
BMXAA10175E400a POST to a record URI without x-method-overrideadd x-method-override: PATCH
BMXAA10013E400a PATCH to the collection URIsend the update to the record URI
BMXAA8727E404an unknown rest id in the URItake the URI from Location or href
BMXAA7094E400text in a number fieldsend a number
BMXAA2659E400an unknown locationuse a location of the record’s site
BMXAA0029E400status in the body of an updatechange the status with its action
BMXAA8261E400a finish date before the start datecheck the dates and their time zone offsets
BMXAA8229W412a stale _rowstamp or If-Matchread the record again, then update
BMXAA8815E405DELETE on a child listdelete each child by its localref
BMXAA0024E400DELETE on an object that refuses it, through this structuredecommission or cancel, or try another structure
BMXAA1496E400a bulk or merge item that names a record that does not existsend every key of the record
BMXAA9524E409the transactionid was used beforeread Location; the first request was saved

Create, update and merge, bulk requests and duplicate requests and retries cover these cases.

Codes for actions, attachments and access
#

CodeStatusCauseFix
BMXAA9484E400an action called with GETsend a POST
BMXAA9372E400an unknown web method in action=wsmethod:check the name of the method
BMXAA4295E400a status that is no value of the status domainuse a status of the domain
BMXAA1515E400an upload without x-document-meta; the text speaks of error filessend FILE/Attachments
BMXAA4191E400an unknown doc typeuse a doc type of your system
BMXAA6583E400a file type that is not allowedthe message lists the allowed types
BMXAA7901E403/maximo/api without a valid API keysend the key in the apikey header

See actions, workflows and scripts, attachments and the routes.

When the answer is 500
#

A 500 answer often has reasonCode: null and BMXAA1649E, “A programming error resulted in a null pointer exception”. The cause is rarely a bug. In this series it was a request that Manage did not expect:

  • an unknown route, such as /maximo/api/nosuchroute,
  • an action POST without x-method-override: PATCH,
  • an upload without the slug header.

Check the URI and the headers against a request that works before you open a case with IBM.

One error at a time
#

A record that breaks several rules reports one error. We created a service request with text in a number field and an asset that does not exist. The answer named only the number field, BMXAA7094E, and the request header batcherror: 1 changed nothing about that. Fix the first error, send again, and expect the next rule to answer. In a bulk request, each item carries its own error, as the bulk article shows.

What comes next
#

The next article shows how a client retries a request safely, so a timeout never creates a record twice.

IBM’s pages are the reference to keep next to this one:

The series overview lists all parts. If you want help with the REST API in your own Manage, our services page shows how we work.

IBM and Maximo are trademarks of International Business Machines Corporation, registered in many jurisdictions worldwide.

The Maximo REST API in Practice - This article is part of a series.
Part 21: This Article