An API request may fail for various reasons.
Common causes include invalid authentication details, insufficient access rights, missing required fields or an incorrect request format.
It is also possible that an external application may be temporarily unavailable or that an API limit has been reached.
The HTTP status code and any additional error message may help to identify the cause.
When investigating an error, it is important to distinguish between technical connection problems and functional errors in the data supplied.