CommCare API Issues

Hello!

I am using Commcare APIs to get data from Commcare to google sheets via python script. It has been working fine for the past 6 months or so, but now suddenly it has stopped happening and showing the following error.

Error fetching data: 401 Client Error: Unauthorized for url "URL and FormName"

Is their any changes in the Commcare API access policies? Or is it some temporary glitch?

PS: We are using custom standard plan.

Hello @Kshitiz ,

Welcome to the CommCare Forum! My first thought is that your API key has expired. You can check this in CommCare HQ by going to the gear icon on the top right of the page and choosing My Account Settings. From there, use the left hand menu to navigate to API Keys and check the status.

Cheers,

Michèle