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

403 Forbidden from api.themoviedb.org #122

Open
danialbehzadi opened this issue Mar 22, 2020 · 0 comments
Open

403 Forbidden from api.themoviedb.org #122

danialbehzadi opened this issue Mar 22, 2020 · 0 comments

Comments

@danialbehzadi
Copy link

When I try any section in Movies, I get this error:

2020-03-22 19:24:20.085 T:3309302496   FATAL: [plugin.video.kodipopcorntime] Traceback (most recent call last):
                                              File "/home/osmc/.kodi/addons/plugin.video.kodipopcorntime/addon.py", line 40, in <module>
                                                getattr(gui, params.pop('endpoint', 'index'))(params.pop('mediaType', '')).show(**params)
                                              File "/home/osmc/.kodi/addons/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/gui/browse.py", line 72, in show
                                                raise Error("Did not receive any data", 30304)
                                              File "/usr/lib/python2.7/contextlib.py", line 154, in __exit__
                                                self.thing.close()
                                              File "/home/osmc/.kodi/addons/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/media.py", line 115, in close
                                                self._preloader.close()
                                              File "/home/osmc/.kodi/addons/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/media.py", line 28, in close
                                                super(_Base, self).close()
                                              File "/home/osmc/.kodi/addons/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/threads.py", line 51, in close
                                                self.raiseAnyError()
                                              File "/home/osmc/.kodi/addons/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/threads.py", line 22, in ___run
                                                self._target()
                                              File "/home/osmc/.kodi/addons/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/media.py", line 129, in _run
                                                _res = self._handle_params(self._mediaSettings.metadata_provider.pre())
                                              File "/home/osmc/.kodi/addons/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/media.py", line 145, in _handle_params
                                                _d.append(self._request.request(**p))
                                              File "/home/osmc/.kodi/addons/plugin.video.kodipopcorntime/resources/lib/kodipopcorntime/request.py", line 69, in request
                                                raise HTTPError("Received wrong status code (%s %s) from %s" %(response.status, httplib.responses.get(response.status, ''), self.url), 30329)
                                            HTTPError: Received wrong status code (403 Forbidden) from http://api.themoviedb.org/3/configuration?api_key=308a68c313ff66d165c1eb029b0716bc
2020-03-22 19:24:20.256 T:3309302496 WARNING: CPythonInvoker(71, /home/osmc/.kodi/addons/plugin.video.kodipopcorntime/addon.py): the python script "/home/osmc/.kodi/addons/plugin.video.kodipopcorntime/addon.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon7xbmcgui14DialogProgressE
2020-03-22 19:24:20.260 T:3169841888   ERROR: GetDirectory - Error getting plugin://plugin.video.kodipopcorntime/?action=trending&categ=movies&endpoint=browse&mediaType=movies&order=-1
2020-03-22 19:24:20.265 T:4068671488   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.kodipopcorntime/?action=trending&categ=movies&endpoint=browse&mediaType=movies&order=-1) failed

I think it might be a user-agent problem.

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