Sodapy HTTPError: 403 Client Error: Forbidden


Sodapy HTTPError: 403 Client Error: Forbidden



I'm trying to connect to the openpayments data using the sodapy library. I have previously been able to connect with my code as is, but suddenly, today, I have been receiving the error below. I've checked that my openpayments account is still active and that I have the right key, but for some reason it's telling me there is an authorization error.



File "C:UsersnrathAppDataLocalContinuumanaconda3libsite-packagessodapy__init__.py", line 367, in _perform_request
_raise_for_status(response)



File "C:UsersnrathAppDataLocalContinuumanaconda3libsite-packagessodapy__init__.py", line 421, in _raise_for_status
raise requests.exceptions.HTTPError(http_error_msg, response=response)



HTTPError: 403 Client Error: Forbidden.
The current user doesn't have access to this view



Any ideas how to resolve this?





Sorry, I figured this out. It turns out the site had changed the URL for the datasets. Not sure why that prompts a forbidden error.
– NilesRath
Jul 2 at 21:01





It's like the publisher "hide" the original dataset and published it to a new location
– Tom Schenk Jr
Jul 2 at 23:21









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

JMeter fails on beanshell imports

Why in node-red my HTTP POST no receive payload from inject?

PHP contact form sending but not receiving emails