cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Business One Service Layer Login failed - Hana

calvin_zhu
Discoverer

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

0 Kudos

I am using postman desktop and disable ssl check, same "Fail to authenticate service user." error.

B1 version: 9.2 PL10

ProductVersion : 9.20.200

HDB version: 100.122.05.1481577062

Accepted Solutions (0)

Answers (4)

Answers (4)

maik_delly
Active Contributor
0 Kudos

Have a look in SAP Note 2523023 - How to Fix SAP Business One Job Service Registration Failure

Basically you have to get / reset the correct b1s.conf values for ServiceUser,ComponentID,ServiceToken by running a Java tool

Hope it helps,

Maik

BergenMatthias
Discoverer
0 Kudos

Please proof:

  • Are permissions set correctly for folder /usr/sap/SAPBusinessOne/ServiceLayer and subfolders
  • linux user b1service0 should be owner of /usr/sap/SAPBusinessOne/ServiceLayer and subfolders
  • Does b1s.conf exist in folder /usr/sap/SAPBusinessOne/ServiceLayer/conf and is it setup correctly?
0 Kudos

Hello, I'm getting the same error response.

Did any solve the problem?

Thank you.

Former Member
0 Kudos

Hello, did you solve this problem ?