Can't upload SBOM into Dependency-Track through API Key #4769
nghialmgcd201527
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have the script below:
curl -v -X POST "https://vfportal.space/api/v1/bom"
-H "Content-Type: multipart/form-data"
-H "X-API-Key: $(dependencyTrackApiKey)"
-F "project=1b9c9d65-e6ec-492d-87ea-704eaa14cb54"
-F "bom=@$SBOM_FILE"
But It show the log is:
401 Authorization Required
I checked the API Key and project uuid is correct. I also recreated API Key.
Help me this issue. Thanks
Beta Was this translation helpful? Give feedback.
All reactions