Error Code

This topic lists the error codes of Taxonomy API.

Error Codes

Table 1. Taxonomy Error Code
Error Code Error Message
1001 Invalid key. Please check the key you are passing.
1002 You have used your credits.
1003 Key is expired. Validity of Key has expired on {date of expiry}.
1004 Content-Type not defined
1005 Not valid Content-Type
1006 ApiKey is required.
1007 Language is required.
1008 Locale is required.
1009 Version is required.
1010 Please enter search keyword.
1013 Please pass custom values field
1014 Params are required.
1016 Please pass custom values field

Error Schema

The error schema you see below is for error code 1001, and it will look the same for all other errors related to the Taxonomy API.
{
    "error": {
        "errorcode": 1001,
        "errormsg": "Invalid key. Please check the key you are passing."
    }
}