Open agusikprogramusik opened 1 week ago
It is possible that you are using sandbox data, but trying to authorize on production. Try by using https://allegro.pl.allegrosandbox.pl/auth/oauth/device
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.
Hey, I searched the forum for solution, but none of them answered to my problem. I want to create a console application that will transcribe some data into a local database as a part of my college task.
I had a problem with authorization at the beginning. This is code that was literally rewritten from the Python script included to the documentation. clientId and clientSecret are 100% valid. Application created on allegro sandbox.
I am getting System.Net.Http.HttpRequestException: 'Response status code does not indicate success: 401 (Unauthorized). in line that is checking success status code for response in GetDeviceCode method. Am I missing something?