To access Acumatica rest API's Acumatica ERP creating cookies for authorization when we hit the login API.
Authorization cookie not working after some time, all API return “You are not logged in”.
Please let me know what is the maximum time/ max age for cookie variable after login?
Solved
why “You are not logged in” error return when rest API call except login API?
Best answer by jinin
To determine the specific duration for which the authorization cookie is valid for your particular instance of Acumatica ERP, you can check the configuration settings on the server side. You can do this by contacting the system administrator responsible for managing your Acumatica ERP instance.
Alternatively, you can try experimenting with different values for the expiration time of the authorization cookie until you find one that works well for your use case. This can involve adjusting the server-side configuration settings or modifying your code to refresh the authorization cookie periodically.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.