cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HANA Service Layer not working

Former Member
0 Kudos

Hello Everyone,

While Calling Service Layer through Postman I am getting the below error also the same has been highlighted in the inserted image as well:

  • An authentication object was not found in the security context.
  • Expected CSRF token not found, Has your session expired ?

The documentation link which have details about the User manual & API Reference is showing up but the when we try to call Login method @ that time we are getting the above error in the output window of postman client.

Also when I open the Login url (http://url:50000/b1s/v1/Login) in the browser then I am getting Not Found text in the browser. Screenshot has been attached related to this.

Can anyone please point what should I do to fix this issue.

Accepted Solutions (1)

Accepted Solutions (1)

YatseaLi
Product and Topic Expert
Product and Topic Expert

Hi Abhay,

1.404 error on open http://url:50000/b1s/v1/Login in browser
Yatsea: The browser is using HTTP GET to endpoint http://url:50000/b1s/v1/Login, which is of course not available as the endpoint of Login is only listing to POST.

2.Login Error with Postman

  • An authentication object was not found in the security context.
  • Expected CSRF token not found, Has your session expired ?

Yatsea: It seems related to DB user has no enough privilege to access Database.
If you are using a different DB different from the one used in the installation, please assure the user have grant the proper permission.
To do so, you may refer to section 9.3.3 Database Privileges for Installing, Upgrading, and Using SAP Business One in the Administrator Guide of SAP Business One, version for SAP HANA.

Kind Regards, Yatsea

Answers (0)