B1SLayer icon indicating copy to clipboard operation
B1SLayer copied to clipboard

Logged in but keep getting "Authorization header not found"?

Open KwokHoiMan opened this issue 11 months ago • 2 comments

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.

image

I am using SAP v10 SP2311 64-bit.

Any advice appreciated!

KwokHoiMan avatar Mar 14 '24 17:03 KwokHoiMan

Hi, @KwokHoiMan. Can you share a the code snippet that reproduces your problem, please?

bgmulinari avatar Mar 14 '24 18:03 bgmulinari

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");

Shield1739 avatar Apr 28 '24 01:04 Shield1739