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"
}
}| Field | What it holds |
|---|---|
reasonCode | the message code; the field a client should test |
message | the code again, then the text, sometimes with a nested cause |
statusCode | the HTTP status, as a string |
timestamp | when the error happened, in UTC |
extendedError.moreInfo.href | a link to the explanation of the code |
Two traps sit in this shape:
statusCodeis a string. Compare it with"400". The bulk answers of the bulk article carry their status as a string too.- Without
lean=1the names change. The object isoslc:Error, the code isspi:reasonCodeand the status isoslc: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:
BMXAAis the prefix of Maximo’s own messages. The ticket rules answer withCTGRD, see the bulk article.- The number identifies the message.
- The last letter is the severity:
Efor an error,Wfor 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#
| Status | Meaning in the REST API | Example code |
|---|---|---|
| 200 | the request ran; a read or an update with properties | |
| 201 | a record was created; Location names it | |
| 204 | an update, delete or action ran, with no body | |
| 302 | /maximo/oslc sent the caller to the MAS login | |
| 400 | Manage refused the request: syntax, a value, a rule | most codes below |
| 403 | no valid credentials on /maximo/api | BMXAA7901E |
| 404 | the object structure or the record does not exist | BMXAA4216E, BMXAA8727E |
| 405 | the method does not apply to this URI | BMXAA8815E |
| 409 | the transaction id was used before | BMXAA9524E |
| 412 | the record changed since it was read | BMXAA8229W |
| 500 | an error inside Manage, often a missing header | BMXAA1649E |
| 501 | the 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#
| Code | Status | Cause | Fix |
|---|---|---|---|
| BMXAA8744E | 400 | oslc.where is not OSLC syntax, for example SQL quotes | write attr="value", see the where clause |
| BMXAA8781E | 400 | an unknown attribute in oslc.where | check the name in the JSON schema |
| BMXAA9244E | 400 | rel.<name> in oslc.select without braces | add the attributes, rel.openwo{wonum} |
| BMXAA9243E | 400 | two properties of one record want the same name | rename one with -- |
| BMXAA8741E | 400 | savedQuery with a name that does not exist, or in the wrong case | copy the name from apimeta |
| BMXAA9246E | 400 | a saved query with parameters, a parameter missing | add sqp:<name>=<value> |
| BMXAA9686E | 400 | savedQuery=kpi: with an unknown KPI | check the name in the KPI Manager |
| BMXAA8763E | 400 | oslc.searchTerms on a structure without search attributes | add searchAttributes |
| BMXAA9562E | 400 | an unknown name in searchAttributes | use an attribute of the main object |
| BMXAA4216E | 404 | the object structure in the URI does not exist | check the name; it is not case sensitive |
The articles on selecting and saved queries show each case in full.
Codes when you write#
| Code | Status | Cause | Fix |
|---|---|---|---|
| BMXAA9233E | 400 | the body is no valid JSON | check the body; the message names line and column |
| BMXAA4129E | 400 | a create with a key that exists | update the record instead |
| BMXAA4153E | 400 | an unknown site in a create | use a site of your system |
| BMXAA10175E | 400 | a POST to a record URI without x-method-override | add x-method-override: PATCH |
| BMXAA10013E | 400 | a PATCH to the collection URI | send the update to the record URI |
| BMXAA8727E | 404 | an unknown rest id in the URI | take the URI from Location or href |
| BMXAA7094E | 400 | text in a number field | send a number |
| BMXAA2659E | 400 | an unknown location | use a location of the record’s site |
| BMXAA0029E | 400 | status in the body of an update | change the status with its action |
| BMXAA8261E | 400 | a finish date before the start date | check the dates and their time zone offsets |
| BMXAA8229W | 412 | a stale _rowstamp or If-Match | read the record again, then update |
| BMXAA8815E | 405 | DELETE on a child list | delete each child by its localref |
| BMXAA0024E | 400 | DELETE on an object that refuses it, through this structure | decommission or cancel, or try another structure |
| BMXAA1496E | 400 | a bulk or merge item that names a record that does not exist | send every key of the record |
| BMXAA9524E | 409 | the transactionid was used before | read 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#
| Code | Status | Cause | Fix |
|---|---|---|---|
| BMXAA9484E | 400 | an action called with GET | send a POST |
| BMXAA9372E | 400 | an unknown web method in action=wsmethod: | check the name of the method |
| BMXAA4295E | 400 | a status that is no value of the status domain | use a status of the domain |
| BMXAA1515E | 400 | an upload without x-document-meta; the text speaks of error files | send FILE/Attachments |
| BMXAA4191E | 400 | an unknown doc type | use a doc type of your system |
| BMXAA6583E | 400 | a file type that is not allowed | the message lists the allowed types |
| BMXAA7901E | 403 | /maximo/api without a valid API key | send 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
slugheader.
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:
- Error handling in IBM’s Maximo REST API guide on GitHub.
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.
