forecho / amazon-mws

Interaction with the Amazon api for vendors called MWS
23 stars 15 forks source link

Validate is not working again #3

Open mfrederico opened 4 years ago

mfrederico commented 4 years ago

I am getting a response back: 'The input you have submitted is not valid. Please check your input and try again.'

mfrederico commented 4 years ago

not sure how to submit pull requests on this project .. is this one dead too?

stefnats commented 4 years ago

Nope, it's not dead.

Could you please point out the exact message that you receive? go to MWSClient.php and do a var_dump($e) when catching the exception.

And also, please post your composer.json

PS: I'm not the maintainer, just trying to help.

Jtosbornex commented 4 years ago

@mfrederico @stefnats What if instead of checking the response message we check the response status code?

Jtosbornex commented 4 years ago

These are different approaches I have seen as well that have been made in the past 9 days:

https://github.com/tiny-software/amazon-mws/blob/af47dcacf7f3411035eb09a518af63bd3c5f132b/src/MWSClient.php#L93

https://github.com/lenar/amazon-mws/blob/d7fefdea794e9639f57d3c197cc9ccce5cb9987c/src/MWSClient.php#L99

mewejo commented 4 years ago

Seems like MWS now comes back with:

 The input you have submitted is not valid. Please check your input and try again. 
arolando commented 4 years ago

Hello, I have the error described by @mewejo too! Did someone resolved?

The input you have submitted is not valid. Please check your input and try again.

chrismeats commented 3 years ago

I just submitted a PR to handle this better. I dont know if this package is still maintained. If not I plan on maintaining my fork here as I use this package for work: https://github.com/chrismeats/amazon-mws NOTE: readme is incorrect, make sure to set git URL to my fork if you plan to use that fork.