More Burp 2 Beta API Key Issues
When "Allow access without API key" is enabled if an invalid API key is used the API does not return an "Unauthorized" error message or the proper HTTP status code.
For example if a valid API key is "valid" and the API key "test" does not exist:
will return the issue definitions while:
"Invalid API version"
it should return:
If the "Allow access without an API key" option is disabled the API will return:
for bad keys as expected.
Thanks for letting us know about this. We’ll investigate including a fix in a future beta.