Discussions

Ask a Question
Back to all

403 Error

Traceback (most recent call last):
  File "/data_1/albert/zz_lifestyle/download.py", line 26, in <module>
    urls = get_dataset_files(
           ^^^^^^^^^^^^^^^^^^
  File "/home/albert/anaconda3/envs/dewey/lib/python3.12/site-packages/deweypy/download/synchronous.py", line 481, in get_dataset_files
    response = api_request(
               ^^^^^^^^^^^^
  File "/home/albert/anaconda3/envs/dewey/lib/python3.12/site-packages/deweypy/download/synchronous.py", line 417, in api_request
    response.raise_for_status()
  File "/home/albert/anaconda3/envs/dewey/lib/python3.12/site-packages/httpx/_models.py", line 829, in raise_for_status
    raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '403 Forbidden' for url 'https://api.deweydata.io/api/v1/external/data/fldr_8zme9bwbekydvezq/files?page=1&partition_key_after=2024-02-01&partition_key_before=2024-02-29'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403

Hi,

I'm encountering the 403 error when attempting to download veraset visits data after the 500 error disappears