REST API Reference > Informatica Intelligent Cloud Services REST API > Error object
  

Error object

When the REST API encounters an error, it returns a REST API error object.
For REST API version 2 calls, the error object has the following structure:
{
"code": "UI_10000",
"description": "User name or password is not valid.",
"statusCode": 403,
"@type": "error"
}
For REST API version 3 calls, the error object has the following structure:
{
"error": {
"code": "IDS_085",
"message": "User name or password is not valid.",
"requestId": "9hr8e2ObIcChbwYftgDui7",
"details": null
}
}