Introduction
As you run reports via API, you may come across an API error code or message. Below are common API errors you may encounter and ways to address them. Information about HTTP status codes is also available externally.
Error Codes
These are the common error codes; click the + for more information:
Examples:
{"code":400,"message":"Invalid report name."}
{"code":400,"message":Invalid date type."}
{"errors":["Invalid date range"]}
Your request contains a report that does not exist or contains an invalid date. To resolve this error, log in to your dashboard and double-check that your report exists and that your dates are correct.
Example:
{ ""code"": 403, ""message"": ""Access Denied"" }
This error means that your credentials were invalid. Log in to your dashboard and get the correct API token for your account.
This error indicates the origin server did not find a current representation for the targeted source. This may be a temporary issue; we recommend checking the URL and trying again.
Requests using the Reporting APIs are limited to three concurrent calls at any given time. If you try to run more than three requests at once, you will receive an error on all further requests until one or more of the existing requests are complete.
If you are using scripted calls, make sure you are not making more than three simultaneous calls. If you are executing unlimited API calls, either pause or put a limit on calls in your code.
For additional assistance with API errors, contact Customer Support.
Comments
Please sign in to leave a comment.