Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
KwokHoiMan opened this issue Mar 14, 2024 · 2 comments
Open

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

KwokHoiMan opened this issue Mar 14, 2024 · 2 comments

Comments

@KwokHoiMan
Copy link

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!

@bgmulinari
Copy link
Owner

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

@Shield1739
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants