In this help center, you can find content for both Merchant Center Next and the classic Merchant Center experience. Look for the logo at the top of each article to make sure you're using the article for the Merchant Center version that applies to you. 

Debug API errors with API calls

A custom icon for Merchant Center Next articles

If you're looking for information about debugging API errors with API calls in the classic Merchant Center experience, click here.

The API calls tab in Merchant Center shows the status of any Content API for Shopping requests.

The API calls tab allows you to:

  • View all the successful and failed API requests for a given time period
  • Determine the number of successful and failed requests per API service and method
  • Review examples of failed requests

On this page, you'll learn how to access the API calls tab to diagnose errors with your API requests. After fixing the errors, you may resubmit the API requests.

Note: The API calls screen isn’t available by default. To make this available, turn on the “API calls” as an add-on. This add-on can be enabled in any Merchant Center Next account, but it'll only be useful if you are an API user. If you aren't an API user, you will not view any data. Learn more about activating add-ons in Merchant Center.

Review API requests

There are 2 main parts of the API calls tab:

  • A timeline graph that shows the number of successful and failed API requests for a specific time period
  • A table that shows the total API requests and the number of failed API requests within that total
Note: The timestamps on the graph are based on the time zone specified in your account settings.

To review API requests:

  1. In your Merchant Center account, click the Settings & tools icon Tools and setting menu icon [Gear], then select API calls.
  2. Use the “Time period” filter to specify the time period.
  3. Use the filter bar on top of the page to specify the API service request (for example, products with the “insert” method) that you want to review. Both the table and the timeline update to show the specific API service request.

View failed API requests

When the table displays the results for your selected data range, you can browse through the listed services and methods to quickly determine the causes of the failed API requests. By default, the errors are listed by service name, but you can change the sort order by selecting a column header.

To view the failed requests:

  1. View the error in the “Errors / Impacted API calls” example. Click Show more to view more details of your error messages.
  2. Use the error messages as guidelines for fixing your API requests.

Was this helpful?

How can we improve it?
Clear search
Close search
Google apps
Main menu
Search Help Center