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

pytmdb3 will not accept my api_key #46

Closed
stampedeboss opened this issue Jul 24, 2014 · 2 comments
Closed

pytmdb3 will not accept my api_key #46

stampedeboss opened this issue Jul 24, 2014 · 2 comments

Comments

@stampedeboss
Copy link

I get the following error:

tmdb3.set_key('99999999999999999999999999999')
Traceback (most recent call last):
File "", line 1, in
File "tmdb3/request.py", line 33, in set_key
raise TMDBKeyInvalid("Specified API key must be 128-bit hex")
tmdb3.tmdb_exceptions.TMDBKeyInvalid: Specified API key must be 128-bit hex

The key being supplied is identical to the key listed in the web site. It also being accepted by the old tmdb api without issue.

@wagnerrp
Copy link
Owner

I currently know of three keys, although I could probably find some more if I went searching through available source of other projects using the TMDBv3 API.

  • pytmdb3 testing key: 1acd79ff610c77f3040073d004f7f5b0
  • mythtv grabber key: c27cb71cff5bd76e1a7a009380562c62
  • xbmc grabber key: 57983e31fb435df4df77afb854740ea9

They're all 32-characters long, and all composed of hexadecimal characters. Now "99999999999999999999999999999" is only 29-characters and does not follow that format, but presumably that is just some arbitrary string in place of your real key. Is it possible you copied your key in incompletely? Were you given a key very early on before this format came into use?

@wagnerrp
Copy link
Owner

No response from reporter, and TMDB admin confirms all keys should follow that format. I'm closing this one.

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