allegro / allegro-api

Issue tracker and wiki for Allegro REST API
https://developer.allegro.pl/
210 stars 39 forks source link

REST API: Access denied #8784

Open sergikhizanishvili opened 2 months ago

sergikhizanishvili commented 2 months ago

I have a question about the REST API integration:

I'm trying to get response with following endpoint: /sale/products?phrase=cup&language=en-US

It gives me error:

{ "errors": [ { "code": "AccessDeniedException", "message": "Access denied.", "details": null, "path": null, "userMessage": "No access." } ] }

Do the application needs verification? How to obtain it?

Account #: 120711909

P.S. Account is verified and 2FA is active. Using Device Type application.

MartaNowaczyk commented 2 months ago

You have probably used Client_credentials authorization flow, where there is no user's context, this is why you do not have an access to /sale/products and many other resources marked as bearer-token-for-user in our documentation.

stale[bot] commented 2 months ago

W tym wątku nie pojawiła się żadna nowa odpowiedź w ciągu 7 dni, dlatego automatycznie oznaczamy go jako przeterminowany. Jeśli w ciągu kolejnych 7 dni nie pojawi się żadna odpowiedź, wątek zostanie zamknięty. Dziękujemy za zaangażowanie w dyskusję i zachęcamy Cię do wypełnienia ankiety dotyczącej naszego wsparcia na forum.


There was no new reply in this thread within 7 days, therefore, we automatically marked it as expired. If no response is received within the next 7 days, this thread will be closed. Thank you for engaging in the discussion. We encourage you to complete our forum support survey.