Building an integration for the REST API in .NET 6.
When passing a valid sessionId via the query string, calls succeed as expected. However when passing with the sessionId stored as the Authorization header with value "Bearer ",
e.g. “Bearer 602a93d1-c39c-462d-b128-1fa975b9ce77”
I receive an error from the API as follows:
“Message”:“An error has occurred.”,“ExceptionMessage”:“The caller is not associated with a valid session.”,“ExceptionType”:“Dundas.BI.InvalidSessionException”,“StackTrace”:" at Dundas.BI.Engine.get_Session()\r\n at ᘴᒽᗒᐁᕿᐪᘯᓟᕆᒏ.GetAccount(String name)\r\n at Dundas.BI.WebApi.Controllers.AccountController.GetAccountByName(String name, Nullable`1 sessionId)"
This is just an inconvenience but is making my code messier to look at. SHOULD this work?
Dundas version 188.8.131.521