Skip to content

Problem with OAuth1Session in http.py #304

Description

@antoniosequeiraws

Our pipeline was working fine until last Friday (28/07/2023) when it start giving us issues when we were fetching async stats job data.
After a lot of debugging I was able to pinpoint the issue to row 110 in http.py, which uses OAuth1Session.get method in our specific case. Basically it gives us back an unauthorised error 403 when we were trying to get a gzip file trough this method, which worked fine in the past. More strangely if I paste the URL of the request in any browser, even in incognito, I'm able to download the file without any issues, it's like it doesn't even need any authorisation.
I made a small change in the code just to test if this was a problem of the SDK or if it was a problem with our developer account as you can see in the following image and I was able to make the pipeline work again.
image

As you can see I've used the requests library to replace the OAuth1Session.get method and I was able to surpass the issue. So in conclusion there seems to be a problem with the usage of OAuth1Session.get method for async stats job data.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions