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

KeyError: 'results' #11

Open
jaum20 opened this issue May 23, 2023 · 1 comment
Open

KeyError: 'results' #11

jaum20 opened this issue May 23, 2023 · 1 comment

Comments

@jaum20
Copy link

jaum20 commented May 23, 2023

getting this error when running the elsewherr.py script

File "/home/user/Elsewherr/./elsewherr.py", line 79, in <module>
    logging.debug(f'Total Providers: {len(tmdbProviders["results"])}')
KeyError: 'results'

the value of tmdbProviders is:

{'success': False, 'status_code': 34, 'status_message': 'The resource you requested could not be found.'}

commenting line 79 makes it work

@MikeFalcor
Copy link

Seconded! And I did the same as above - Commented out line 79.

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