Recently, we received a transfer of ownership for an application. While the transfer has been completed, we are encountering issues when we tried exchange the transfer identifiers for team-scoped identifiers and private email addresses. Specifically, we are only able to successfully exchange a portion of the user identifier.
Following the official documentation, we performed the following steps:
Obtained the interface token:
Request parameters:
client_id
client_secret
grant_type=client_credentials
scope=user.migration
Response:
{"access_token":"xxxx","token_type":"Bearer","expires_in":3600}
Generate the transfer identifier
(https://developer.apple.com/documentation/sign_in_with_apple/transferring_your_apps_and_users_to_another_team)
Request parameters:
sub=xxxx&target=New Team ID&client_id&client_secret
Response:
{"transfer_sub":"xxxx"}
Re-obtained the interface token:
Request parameters:
client_id
client_secret
grant_type=client_credentials
scope=user.migration
Response:
{"access_token":"xxxx","token_type":"Bearer","expires_in":3600}
Exchange identifiers:
(https://developer.apple.com/documentation/sign_in_with_apple/bringing_new_apps_and_users_into_your_team)
Request parameters:
transfer_sub=xxxx&client_id&client_secret
Response:
code:400, content:{"error":"invalid_request"}
Could you please help us identify the issue?