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

Upload documents operation doesn't seem to be up to date #127

Open
rbufnoir opened this issue Nov 6, 2024 · 0 comments
Open

Upload documents operation doesn't seem to be up to date #127

rbufnoir opened this issue Nov 6, 2024 · 0 comments

Comments

@rbufnoir
Copy link

rbufnoir commented Nov 6, 2024

The upload-document endpoint doesn't seem to be up to date

When following the documentation and using the uploadDocument method I get an error:
Bad Request\n \n Validation failed ""","code" => 400

If I look the shopping-feed documentation we can see that the endpoint require a multipart/form-data with two specific keys: files and body

Capture d’écran du 2024-11-06 11-35-28

Currently the body is badly formatted with for exemple the documents key being mispelled (an 's' is missing)
Furthermore the files key is never set up

In addition, the header is set to 'Content-type: application/json' by default

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

1 participant