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 when trying to create post #308

Closed
bbrk24 opened this issue Mar 3, 2024 · 4 comments
Closed

401 when trying to create post #308

bbrk24 opened this issue Mar 3, 2024 · 4 comments

Comments

@bbrk24
Copy link

bbrk24 commented Mar 3, 2024

The documentation isn't very clear on what the callback and redirect URLs are, so it's entirely possible that I just set those wrong, but I have no idea what to set them to.

I copied the consumer_key, consumer_secret, token_key, and token_secret from the sample code in https://api.tumblr.com/console/calls/post/reblog, but I still get a 401 Unauthorized when I call createPost. How do I even go about troubleshooting this issue? I can't find anything obviously wrong but the documentation is less than helpful. Is there really no login method I have to await first?

@sirreal
Copy link
Member

sirreal commented Mar 14, 2024

Do the other examples work? For example does userInfo() work?

This is related to #296 which could make debugging these issues easier.

@bbrk24
Copy link
Author

bbrk24 commented Mar 14, 2024

Haven't tested all of them, but I tried two or three of them and wasn't able to get any of them to work. I can try them all if you think it would be useful.

@sirreal
Copy link
Member

sirreal commented Mar 14, 2024

createPost() is more likely to have other problems. Maybe there's an issue with the post data, quotas, or something else.

userInfo() should be a simple way to test whether it's an issue with your credentials or not.

@sirreal
Copy link
Member

sirreal commented May 17, 2024

Closing due to inactivity.

@sirreal sirreal closed this as completed May 17, 2024
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