You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to upload a bom file via the rest api using the curl command, I get the error, that my api key is invalid, even though I triple checked if the key was correct and has correct permissions as administrator, it has every possible right.
Steps to Reproduce
Using this curl curl -X POST "http://localhost:8081/api/v1/bom?project=insertUUIDhere" -H "X-Api-Key: insertAPIKeyHere" -H "Content-Type: multipart/form-data" -F "bom=@./test.xml" -v -i
I get this error from the log INFO [AuthenticationFilter] Invalid API key asserted [requestId=insertIDhere]
Expected Behavior
I expect the bom to be uploaded to the project, without giving my invalid API key errors.
Somehow I got rid of the invalid API-Key error, when I remove the last part in my POST command, so it is only http://localhost:8081/api/v1/bom without the ?project=UUID.
Current Behavior
When I try to upload a bom file via the rest api using the curl command, I get the error, that my api key is invalid, even though I triple checked if the key was correct and has correct permissions as administrator, it has every possible right.
Steps to Reproduce
curl -X POST "http://localhost:8081/api/v1/bom?project=insertUUIDhere" -H "X-Api-Key: insertAPIKeyHere" -H "Content-Type: multipart/form-data" -F "bom=@./test.xml" -v -i
INFO [AuthenticationFilter] Invalid API key asserted [requestId=insertIDhere]
Expected Behavior
I expect the bom to be uploaded to the project, without giving my invalid API key errors.
Dependency-Track Version
4.7.x
Dependency-Track Distribution
Container Image
Database Server
PostgreSQL
Database Server Version
No response
Browser
N/A
Checklist
The text was updated successfully, but these errors were encountered: