Error

Defines the data structure we return when an error occurs

FieldDescription

statusCode

Http status code

code

Error code

timestamp

Format time in UTC

path

Api Path

message

List of error messages.If the code is different from 1, please read this document for more details

// example

{
  "statusCode": 403,
  "code": 2,
  "timestamp": "2023-11-05T01:48:23.385Z",
  "path": "/api/app/task",
  "message": [
    "API_KEY_DOES_NOT_EXIST"
  ]
}

Last updated