sonatype / ossindex-public

Sonatype OSS Index - Public
Apache License 2.0
6 stars 9 forks source link

Component report throws error 500 for macaddress@0.2.8 package #46

Open jgacas opened 1 year ago

jgacas commented 1 year ago

When I try to send POST request to https://ossindex.sonatype.org/api/v3/component-report with a payload

{
   "coordinates":[
        "pkg:npm/macaddress@0.2.8"
    ]
}

the response contains code 500

{
    "code": 500,
    "message": "There was an error processing your request. It has been logged (ID d9bb96fc74c4f8d3)."
}

This issue breaks our build which calls OSS index component report with a number of packages in the POST body, but after analyses we found out that the package that triggers the error 500 is macaddress@0.2.8.

ken-duck commented 1 year ago

Sorry for the delay, and thanks very much for the report. I have raised an internal ticket and we will be resolving this ASAP.