Views:
Last updated: 12/3/2024 11:39:44 AM
The following common errors might occur when invoking LMPI:
HTTP Status code
Error Subject
Error Message
400
MissingHeaderAccessToken
x-access-token missing.
400
MissingHeaderPosixTime
x-posix-time missing.
400
MissingHeaderSignature
x-signature missing.
400
MissingHeaderTraceID
x-traceid missing.
400
InvalidParameters{FieldName}
(Detailed description of the invalid parameter.)
401
AuthenticationFailureSignature
Failed to verify x-signature.
401
AuthenticationFailureAccessToken
Your access token might not have been configured. If the issue persists, contact your system administrator.
401
AuthenticationFailurePosixTime
Failed to verify x-posix-time.
401
InvalidHeaderAccessToken
Invalid x-access-token.
415
InvalidHeaderContentType
Content-type header should be provided with application/json.
500
InternalMappingError
Internal mapping error occurred. If the issue persists, contact your system administrator.
500
CSPIError
Unknown error occurred. If the issue persists, contact your system administrator.
500
InternalError
Internal server error occurred. If the issue persists, contact your system administrator.
500
ServerException
Internal server error occurred. If the issue persists, contact your system administrator.
The HTTP Status of the API response indicates whether the request was successful, with the following two statuses:
  • HTTP 200 OK
  • HTTP 4xx (Exception returned from LMPI)
If the API returns an HTTP status 4xx in a response, see the error message provided in the response body.
You can refer to the following example:
 -----------------------------------------------------------------------------
 HTTP/1.1 415
 Cache-Control: private
 Content-Length: 217
 Content-Type: text/html
 Date: Tue, 22 May 2012 22:53:07 GMT
 {
   "error_subject" : "InvalidHeaderContentType",
   "error_message": "Content-type header should be supplied with application/json."
 }
 -----------------------------------------------------------------------------
The error_subject field is the subject of the error as defined in LMPI.
The error_message field contains the error message displayed when invoking LMPI.