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

401 unauthorized errors despite correct credentials #35

Closed
jakemmarsh opened this issue Jan 30, 2014 · 6 comments
Closed

401 unauthorized errors despite correct credentials #35

jakemmarsh opened this issue Jan 30, 2014 · 6 comments

Comments

@jakemmarsh
Copy link

( Note: could be having the same problem as #34 )

I've copied all the credentials directly from the API explore console (where all calls complete successfully), and provided them to the Pytumblr client. However, I still receive 401 errors for any requests to the API. I have confirmed my configuration with someone at Tumblr, as well.

@seejohnrun
Copy link
Contributor

Heya - just tried this again locally on a fresh install.
Things are working well for me.

What's your environment like?

@jakemmarsh
Copy link
Author

Working in Mac OSX Mavericks, running Python 2.7.5, developing via PyDev in Eclipse but the same problems occur via Terminal. I Installed Pytumblr via pip just yesterday.

@seejohnrun
Copy link
Contributor

Hey @jakemmarsh - have you seen the resolution to #34?

@jakemmarsh
Copy link
Author

@seejohnrun since I'm on a Mac, I tried to sync my date/time using sudo ntpdate -u time.apple.com (found here). This executed successfully, outputting 2 Feb 14:35:08 ntpdate[83268]: step time server 17.171.4.35 offset 1.429673 sec.

However, still getting the 401 unauthorized error. If I use the date +%s command in Terminal, it outputs 1391369906

@jakemmarsh
Copy link
Author

It turned out to be an issue with the config file from which I was retrieving my API keys. Nothing to do with Pytumblr or the API.

@seejohnrun
Copy link
Contributor

Thanks for the update @jakemmarsh !

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

2 participants