Errors
Error handing in LensAI API
All API errors are returned in JSON format.
Special attribute code contains a code with a business error if there is any. When an error is generic or unexpected this attribute will contain a common code from a table in the next section.
{
"status": 400,
"timestamp": "2022-02-04T18:08:53Z",
"code": "ExpiredAtInvalid",
"message": "The provided expiredAt timestamp points to the moment in the past"
}