Skip to Content
3
Jul 04, 2017 at 08:47 PM

SAP Business One Service Layer Login failed - Hana

3139 Views

Hi,

B1 version: 9.2 PL06 Hotfix 1.

Hana version: 1.00.122.04

I am trying to access Business one for hana service layer using a REST client addon in chrome.

Send this HTTP request for login:
POST https://<Server Name/IP>:<Port>/b1s/v1/Login
{"CompanyDB": "SBODEMOAU", "UserName": "manager", "Password": "1234"}

But I got this in return:

{
"error": {
"code": -10,
"message": {
"lang": "en-us",
"value": "Fail to authenticate service user."
}
}
}

User 'manager' has professional user license. I can log in SBODEMOAU using B1 Client with the credential for my HTTPS post. What else do I need to make it work?

Many thanks

Calvin