Discussions

Ask a Question
Back to all

500 Internal Server Error

Hi,

I encountered the following error when attempting to download veraset visit data.

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: Server error '500 Internal Server Error' for url 'https://api.deweydata.io/api/v1/external/data/fldr_8zme9bwbekydvezq/files?page=1&partition_key_after=2024-01-01&partition_key_before=2024-01-31'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500