Skip to content

Service unavailable when downloading Swiss data : HTTP 503 #389

Description

@MaxenceRichard

When running a mobility simulation that requires the shopping activity module, the process fails while downloading a Swiss dataset used to build the shop turnover distribution. Returns an HTTP 503 error.

Traceback
requests.exceptions.HTTPError: 503 Server Error: Service Unavailable for url:
https://dam-api.bfs.admin.ch/hub/api/dam/assets/32258837/master

The error originates from:

 ShopsTurnoverDistribution.create_and_get_asset()
     └── prepare_swiss_shops_turnover_distribution() 
          └── download_file(url_statent, statent_zip_path)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions