Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

414 Request-URI too large #156

Open
formbench opened this issue Jan 17, 2021 · 3 comments
Open

414 Request-URI too large #156

formbench opened this issue Jan 17, 2021 · 3 comments
Assignees

Comments

@formbench
Copy link

Hi,

We're trying to implement the MWS function PutTransportContent of the Fulfillment Inbound Shipment endpoint, but get the response 414 Request-URI too large. Obviously this is because the request is a get request that submits all the information as url parameters, which in our case is just too much. We're talking about 15-20 boxes of goods for one shipment, which is be something that the api needs to be able to handle.

Is there a way with amazon-mws to force a post request? I'd like to still use amazon-mws for this call because of it's lightweight implementation. As far as I know, nearly every request to the MWS API can be a POST request optionally.

Unfortunately PutTransportContent also needs to be submitted in one go, which makes it impossible to split the transfer of data into multiple calls.

Any idea/help? Thanks!

@bhushankummar bhushankummar self-assigned this Jan 18, 2021
@bhushankummar
Copy link
Owner

@formbench You are correct, I think it should be a POST request to handle large data.
I'll check on this and get back to you.

@formbench
Copy link
Author

Thank you, I would appreciate to hear how this can be achieved in amazon-mws.

@gurumohansingh
Copy link

any update ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants