SP-API authorization-api getAuthorizationCode Operation Error


#1

When I called getAuthorizationCode again to get the code, there was an error, please tell me how to solve it?
Here is the request data and the return results.

Request info:
{
“clientId”: “amzn1.application-oa2-client.XXXXXXXXd0a81ae667e6”,
“clientSecret”: “e75595ede00c1fXXXXXXXXXXXXXb72a44c674c7d5”,
“accessKeyId”: “AKIXXXXXXXXXXXXXXQQELI”,
“secretKey”: “JuCHRTCSMXXXXXXXXXXXXXWc2GIq20c/zTa6d”,
“roleArn”: “arn:aws:iam::13685XXXXX434:role/SellingPartnerAPIRole”,
“endpoint”: “https://api.amazon.com/auth/o2/token”,
“region”: “us-east-1”,
“endpointURL”:“https://sellingpartnerapi-na.amazon.com”,
“withScopes”:[
“sellingpartnerapi::notifications”,
“sellingpartnerapi::migration”
],
“sellingPartnerId”:“A2URXXXXXXXXXXR”,
“developerId”:“134XXXXXXXXX3677”,
“mwsAuthToken”:“amzn.mws.50b6ebe1-56de-5fXXXXXXXXXXXXXXXXXX0dc87eb”
}

Response info:
“code”: “InvalidInput”,
“message”: “A published application with the provided app-id not found”,
“details”: “”