Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
abhishah901 opened this issue Aug 24, 2021 · 0 comments
Open

Comments

@abhishah901
Copy link

abhishah901 commented Aug 24, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant