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 we send request with invalid credentials, it logs the following message.
curl --location --request GET 'http://localhost:9090/albums' \
--header 'Authorization: Basic YWxpYzphbGljZUAxMjM='
error message:
Running executable
error:
at ballerina.http.2:authenticateResource(auth_desugar.bal:45)
dimuthu.basic_auth.0.$anonType$_1:$get$albums(service.bal:54)
time=2024-11-21T14:24:42.408+05:30 level=ERROR module=ballerina/http message="unhandled error returned from the service" error={"causes":[],"message":"","detail":{},"stackTrace":[{"callableName":"authenticateResource","moduleName":"ballerina.http.2","fileName":"auth_desugar.bal","lineNumber":45},{"callableName":"$get$albums","moduleName":"dimuthu.basic_auth.0.$anonType$_1","fileName":"service.bal","lineNumber":54}]} path="/albums" method="GET"
Version
2201.8.8, 2201.10.0
Environment Details (with versions)
No response
The text was updated successfully, but these errors were encountered:
Description
Currently, the service logged an unhandled error message for request with invalid credentials.
Steps to Reproduce
consider the following service with basic auth.
When we send request with invalid credentials, it logs the following message.
error message:
Version
2201.8.8, 2201.10.0
Environment Details (with versions)
No response
The text was updated successfully, but these errors were encountered: