Unable to download salesReports by appstoreconnect api 403 FORBIDDEN_ERROR

We're using https://api.appstoreconnect.apple.com/v1/salesReports to download salesReports everyday and have been running for 4 years. After 2024/02/22 08:00(GMT+8) the api call started to return 403 error

{ "errors" : [ { "id" : "4e219b15-0d2f-416a-bd66-5c30c314fd44", "status" : "403", "code" : "FORBIDDEN_ERROR", "title" : "This request is forbidden for security reasons", "detail" : "The API key in use does not allow this request" } ] }

we checked our key is still valid, and there's no change about the jwt sign method: https://developer.apple.com/documentation/appstoreconnectapi/generating_tokens_for_api_requests

we tested keys with ADMIN or FINANCE or ACCESS_TO_REPORTS all return the 403 error above.

Replies

i meet same question today

I'm having the same problem. Have anyone found a solution yet?

We are facing the same problem.

I am seeing the same issue here across multiple API keys.

Similar issue, longstanding code running for years suddenly FORBIDDEN

Same here..... Anyone has any idea how to resolve it

i'm running into the exact same problem. Has anyone found a workaround yet?

Hello, I will be surprised as if it is not linked to this "App Store Connect update" https://developer.apple.com/news/releases/?id=02222024a

A workaround would be to use the Reporter https://help.apple.com/itc/appsreporterguide/ for now

We were having the same issues since Yesterday.

But seems that is working again. I've managed to download the salesReports via the API: https://api.appstoreconnect.apple.com/v1/salesReports

It seems to be working now again. At least for me.

I'm running in the same issue, is it working again for everyone?