Error Handling

Xoxoday Plum Pro API uses conventional HTTP status codes to indicate success or failure. Responses with a status code starting with 4xx or 5xx can be considered as failed. The API returns errors in JS

Different attributes associated with the error codes and objects are defined below:

Attributes

Description

code

The HTTP status code of error returned. Can be: 2xx, 4xx, 5xx

key

A short string from the list on the right-hand side, describing the kind of error which occurred.

message

Message providing short description about the error

details

Message providing more details about the error