Skip to content

Error while fetching composer package versions #197

Description

@keshav-space
>>> from fetchcode.package_versions import versions
>>> list(versions("pkg:composer/admidio/admidio"))
Error while fetching 'https://repo.packagist.org/p/admidio/admidio.json': 403
HTTP error occurred: 403 Client Error: Forbidden for url: https://repo.packagist.org/p/admidio/admidio.json
 Traceback (most recent call last):
  File "../fetchcode/src/fetchcode/package_versions.py", line 515, in get_response
    resp.raise_for_status()
  File "../fetchcode/venv/lib/python3.10/site-packages/requests/models.py", line 1026, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://repo.packagist.org/p/admidio/admidio.json

[]

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