submit an app for beta review, api return This request is forbidden for security reasons, failed with API forbidden error, though submit beta app build sucessfully

Since September 3, when we have been running a very stable program can not work, it calls the api to submit an app for beta review.

Our program is refer to the link https://developer.apple.com/documentation/appstoreconnectapi/submit_an_app_for_beta_review

After check again and again, the api token is valid, and the api token roles is Admin Manager.

Now api response is

{'errors': [{'id': 'xxxx', 'status': '403', 'code': 'FORBIDDEN_ERROR', 'title': 'This request is forbidden for security reasons', 'detail': 'The API key in use does not allow this request'}]}

but when login the https://appstoreconnect.apple.com/, submit beta app build sucessfully.

Why it happened? As the api accounts already have the right permissions and it work right for one year.

submit an app for beta review, api return This request is forbidden for security reasons, failed with API forbidden error, though submit beta app build sucessfully
 
 
Q