Closed fruch17 closed 2 years ago
Hello there. As per the dumps you provided it seems the HTTP 500 error originates in Amazon API itself.
They actually saying
We encountered an internal error. Please try ag(ain later)
I am not sure how to help here.May be @MST1122 can give some more details since he (assuming) dealt with migration from MWS to SP API
I have the same problem.
Somebodies tell this problem may have been gotten in wrong request. But, when I viewed in this document , I see correctly request.
My response is:
{ "errors": [ { "code": "InternalFailure", "message": "We encountered an internal error. Please try again.", "details": "" } ] }
@fruch17 Did you find solution?
@FatmaSedaOZYURT i´m faced similarly problems with sp-api five months ago, i had to contact the amz support to solved them, i hope this will help you...
good luck...
I understand @CesarObedFL . I applied for support a few months ago. Unfortunately it doesn't not progress. But, thank you for answer. Your answer show me that is need to wait for amazon support...
@FatmaSedaOZYURT it doesn't work because my app was in review, once it was successfully published everything worked fine.
@FatmaSedaOZYURT yes it is a bit difficult to communicate with them, but they gave me the idea of using their Node SDK to connect to the SP-API, I had to develop a separate api with Node that I consume with PHP...
I have the same problem. Somebodies tell this problem may have been gotten in wrong request. But, when I viewed in this document , I see correctly request. My response is:
{ "errors": [ { "code": "InternalFailure", "message": "We encountered an internal error. Please try again.", "details": "" } ] }
@fruch17 Did you find solution?
@fruch17 It is most likely that the error is because the signature of the requests does not match, so it is better to use the aws sdk for the sp-api
I understand you and will check your responses on my app. Thank you all of responses.
Hello, i have an issue with the api getAuthorizationCode , I'm trying to Migrate an Amazon MWS authorization to a Selling Partner API application for a client who already has MWS authorization with us.
This is the error:
Server error:
GET https://sellingpartnerapi-na.amazon.com/authorization/v1/authorizationCode?developerId=99XXXXXX364&mwsAuthToken=amzn.mws.XXXXX-XXXXX-XXXX-XXXXX&sellingPartnerId=A1XXXXXXXXW
resulted in a500 Internal Server Error
response: { "errors": [ { "code": "InternalFailure", "message": "We encountered an internal error. Please try ag (truncated...)PLEASE , I NEED SOME HELP ... I would be very grateful
This is my code that is like the example in the main page (https://github.com/double-break/spapi-php):
$config = [ 'http' => [ 'verify' => false, //<--- NOT SAFE FOR PRODUCTION 'debug' => false //<--- NOT SAFE FOR PRODUCTION ], 'client_id' => "amzn1.application-oa2-client.xxxxxxxxxxxxxxxxxx", // developer account 'client_secret' =>"xxxxxxxxxxxxxxxxxxxx", // developer account 'access_key' => "xxxxxxxxx", // user credencial aws console 'secret_key' => "8wH1/xxxxxxxxxxxxx+g+pP+YJ", // user credencial aws console 'role_arn' => 'arn:aws:iam::xxxxxxxxxxx:role/skusuite_spapi' , // user credencial aws console
'region' => "us-east-1", 'host' => "sellingpartnerapi-na.amazon.com"
Please help...