Forbidden Error

Hi,

I have a console application that runs automatically on ActiveBatch. It tests several different pages across our company’s websites. This has all been running fine for the past few months. We were previously passing the API key in the query string of the URL to the API. However, with the recent changes by WPT I have now amended the code in the console app to send the API key in the header instead.

What I am finding is that since making this change only the first 5 or 6 of my 12 API calls from the console app to the WPT API are successful. I then receive an Error : Forbidden response from the API. I do not receive this at a consistent point in my calls it is usually the 5th or 6th call but has happened as early as the first call. I have changing the order of my calls to see if it is an issue with the calls themselves but I still get the Forbidden Error around the 5th or 6th call.

Is there a limit on how many times the API can be called in a given time period? I have tried building a wait in to the time between API calls so that they are more staggered but this does not seem to have had the desired effect.

Hello Chris,

Let me confirm this and get back to you.

Thank you
Atib

Hello Chris,

Could you please raise a ticket with the support and we will check this issue further.
( support@webpagetest.org)

Regards
Atib