B1SLayer
B1SLayer copied to clipboard
Logged in but keep getting "Authorization header not found"?
After logging on, the callback shows that the session is established, but on the next request the response is "authorisation header not found".
This repeats until the .NET console program crashes.
I am using SAP v10 SP2311 64-bit.
Any advice appreciated!
Hi, @KwokHoiMan. Can you share a the code snippet that reproduces your problem, please?
In case anyone comes up with this error, the problems comes from including the /Login in the service layer root uri
Example:
This is WRONG:
new SLConnection("https://sapserver:50000/b1s/v1/Login", "CompanyDB", "manager", "12345");
This is CORRECT:
new SLConnection("https://sapserver:50000/b1s/v1", "CompanyDB", "manager", "12345");