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.