Skip to content

Invalid Credentials: You have to be logged in to perform this action #74

Description

@abhishah901

I am trying to use the v2 of the Python API by using Usage instructions from the readme and from simple get requests like here. Both attempts are made in python.

Here is the code for the second part:

desk = 'randomname.freshdesk.com'
desk_URL = 'https://' + desk
auth_deets = (key, 'x')
cat_query = r.get(desk_URL + "/api/v2/tickets", 
                  auth = auth_deets)
print(cat_query.text)

And the output in each instance is saying You have to be logged in to perform this action

The account is managed by someone else, and I am just creating an automation script for analysis. None of the solutions of converting the base64 format in the second link have helped. Not sure how to proceed. Any help is appreciated.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions