Open
Description
The endpoint /api/collect/
successfully returns PyPI packages. However, the Jinja2
package is the only one, based on my checks so far, that produces an "Error: Bad Request." Upon investigation, the db_package
is created correctly at https://github.com/aboutcode-org/purldb/blob/main/minecode/collectors/pypi.py#L89, but the failure occurs within the add_package_to_scan_queue()
function. It's worth noting that the code performs as expected up to https://github.com/aboutcode-org/purldb/blob/main/minecode/model_utils.py#L60, where the uri
does exist. However, the failure happens during the execution of ScannableURI.objects.get_or_create(...)
.
Metadata
Metadata
Assignees
Labels
No labels