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

406 Error on POST /sale/product-offers with Beta Headers #10793

Open
NiristaRon opened this issue Jan 30, 2025 · 1 comment
Open

406 Error on POST /sale/product-offers with Beta Headers #10793

NiristaRon opened this issue Jan 30, 2025 · 1 comment
Assignees

Comments

@NiristaRon
Copy link

Hello,

I am attempting to create a product-offer in one request using POST /sale/product-offers with the beta media type:

Accept: application/vnd.allegro.beta.v1+json
Content-Type: application/vnd.allegro.beta.v1+json

on the production environment (https://api.allegro.pl). Despite my request being correctly formed (see the attached logs), I keep receiving a 406 NotAcceptableException error.

Trace ID from my failing request: 918ea42f01ef52ef
My Allegro user ID: mbnirista
My account is already verified, and I can successfully upload images via POST /sale/images, but the beta product-offer creation fails.
Could you please check why my account or app is restricted from using this “product + offer in one request” Beta feature? Any guidance or adjustments to my account so this endpoint can work would be greatly appreciated.

Thank you

@Lukasz-Zurek
Copy link
Collaborator

First of all please use application/vnd.allegro.public.v1+json instead of application/vnd.allegro.beta.v1+json as we have already turned off beta versions almost two years ago.

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

No branches or pull requests

2 participants