Open datedefult opened 3 months ago
its my code
def get_user_info(access_token):
api_url = 'https://api.allegro.pl/me' headers = { 'Authorization': f'Bearer {access_token}', 'Accept': 'application/vnd.allegro.public.v1+json' } response = requests.get(api_url, headers=headers) return response.json()
and def search_products(access_token, query):
search_url = f'https://api.allegro.pl/offers/listing/' params = { 'category.id':'xxx', 'phrase': query } headers = { 'Authorization': f'Bearer {access_token}', 'Accept': 'application/vnd.allegro.public.v1+json' } response = requests.get(search_url, headers=headers,params=params) return response.json()
Hello, as in the error message - access to this resource is only for verified applications. You need to contact us via the form.
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.
@datedefult Hi i have the same issue if you texted allegro and got verification succesfuly please tell me about your experience, what argument did you text them ?
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.
After I went through a series of steps, I got the access_token and successfully got the account information from
'https://api.allegro.pl/me'
, but when I accessed'https://api.allegro.pl/offers/listing/'
, it reported an error{'errors': [{'code': 'VerificationRequired', 'message': 'Access is denied. Verification is required.', 'details': None, 'path': None, 'userMessage': 'No access to the specified resource. Access is possible only for verified applications.'}]}
,I'm going to crash!!!!!who can help me