Skip to content

Using 2.0 user credentials in 3.0, http 401 appears #162

Closed

Description

@shajia313

I use the user credentials opened in version 2.0 to perform: result = Reports().post_report(body=data), there is a problem of http response 401, I would like to ask: whether the user credentials opened in version 2.0 cannot be used in 3.0

Activity

  1. shajia313 commented on Aug 23, 2023

    @shajia313
    Author

    By using the refresh_token/client_id/client_secret/profile_id data in credentials.yml in version 2.0, and user_agent = 'python-ad-api' and url='https://advertising-api.amazon.com/reporting/reports', I tried request, but still got 401, even after using sanbox url='https://advertising-api-test.amazon.com/reporting/reports' to make a request, there was a 503 service response

  2. Repository owner locked and limited conversation to collaborators on Aug 30, 2023
  3. converted this issue into a discussion #163 on Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions