Solved

New developer - rest API API Login Limit issue

  • 29 September 2022
  • 3 replies
  • 530 views

I am calling entity/auth/login as restful PI and usually get 202 response.  But every third or fourth time or so get 500 - API Login Limit

 

If I walk away for 10 minutes and come back exact same code works for a while

I have made sure I am logging out after each login.  I am doing them farily slow by hand so maybe a second each attempt.  Any suggestions where I might trty and look to inderstand what I am doijng wrong?

Thanks,

Keith

 

icon

Best answer by Samuel Olivier Lavigueur 29 September 2022, 16:15

View original

3 replies

Userlevel 3
Badge +2

The logout request cannot fail even if you are not providing the session properly to log out.

Make sure that the cookies are pass properly as that is where the session information is stored.

 

You can use the system monitor screen (more specifically the Active Users tab) to check if the session are being closed properly.

Userlevel 7
Badge +5

For your logout request please check if you properly send cookies. The cookies are used to identify the session, so if you don’t send it the system cannot identify the session to logout. 

 

Also, you can check list of logged in users on System Monitor form.

I see

So even though I was logging out and received success , that means nothing.  It was really not logging out.

 

That makes sense.  Thanks

 

 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved