Best practices for managing API calls to minimize "web services" errors

Dan_Stevens_
Level 10 - Champion Alumni

Re: Best practices for managing API calls to minimize "web services" errors

It's not very evident - you need to click on the "number of requests made in the last 7 days":

pastedImage_0.png

Nicholas_Manojl
Level 9

Re: Best practices for managing API calls to minimize "web services" errors

A good practice would be to use a seperate API only user for each of your individual systems. This will help you troubleshoot which of your systems are firing off and consuming your quota. They don't have to be a real email address.

Failing that, support was able to tell me which API endpoint was consuming lots of data for me when I made a similar request once.

Dan_Stevens_
Level 10 - Champion Alumni

Re: Best practices for managing API calls to minimize "web services" errors

Yep - we do that today for each service that connects to Marketo.

Grégoire_Miche2
Level 10

Re: Best practices for managing API calls to minimize "web services" errors

Agreed, this is a basic rule to be enforced.

-Greg

Dan_Stevens_
Level 10 - Champion Alumni

Re: Best practices for managing API calls to minimize "web services" errors

With regard to API call limits, when making a single "lead activities" call that returns 300 results, that will count as a single call against our 10,000 (not 300), correct?

Grégoire_Miche2
Level 10

Re: Best practices for managing API calls to minimize "web services" errors

HI Dan,

Yes this count for 1, even if you fetch 300 records. Attention, though, not all endpoint can retrieve multiple leads or activities per call. the developers have to read the doc carefully on this.

-Greg