Celigo · API builder
415 - Unsupported media type (API builder)
Short answer
A 415 from a Celigo API builder API means the media type of the request is not JSON. Send the request as JSON.
VerifiedLast verified
01Error text
415 - Unsupported media type
Unexpected token <Token> is not valid JSON02Likely causes
- The media type is not JSON.
03How to fix it
- Send the request as JSON.
- To work with another media type such as XML or CSV in an import, use the Override request/response media type field. The final API response must still be JSON.
04Official documentation
→Related errors
- 400 - Bad request (API builder)A 400 from a Celigo API builder API means the request payload or URL is not acceptable. Send a correctly formatted JSON payload that is a plain object with a single record.
- 401 - Unauthorized (API builder)A 401 from a Celigo API builder API means the API token is incorrect or missing from the API request header. Send the correct API token in the API request header.
- 404 - Not found (API builder)A 404 from a Celigo API builder API means the request URL does not match any endpoint in scope of the API token, or the API is disabled. Check that the request URL and method match an endpoint that is in scope of the API token.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for Celigo work:Open Celigo jobsCeligo rates and salaries