Skip to main content
Solved

New developer - rest API API Login Limit issue

  • 29 September 2022
  • 3 replies
  • 664 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

 

Best answer by Samuel Olivier Lavigueur

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.

View original
Did this topic help you find an answer to your question?

Samuel Olivier Lavigueur
Acumatica Moderator
Forum|alt.badge.img+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.


Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+6
  • Acumatica Moderator
  • 595 replies
  • September 29, 2022

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.


  • Author
  • Freshman I
  • 1 reply
  • September 29, 2022

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings