Skip to content

Avoid crashing pynsee functionnalities when only one API isn't available #290

Closed

Description

@tgrandje

Should handle the requests.exceptions.RequestException: Could not reach Metadata at https://api.insee.fr/metadonnees/codes/cj/n3/5599, the server returned 404 (not found); please get in touch if the issue persists. which occasionnaly arise.

Activity

  1. tgrandje commented on Mar 17, 2026

    @tgrandje
    CollaboratorAuthor

    Just happend to me with another API failing:

    requests.exceptions.RequestException: Could not reach Local Data at https://api.insee.fr/donnees-locales/donnees/geo-SEXE-DIPL_19@GEO2020RP2017/FE-1.all.all, the server returned 404 (not found); please get in touch if the issue persists.

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