How to use the session ID in Ragic API without encountering a timeout issue?

Hi everyone,

I’m exploring the potential of Ragic as a low-code platform to create amazing and flexible database solutions. I’m really impressed with how much it can do, but I’ve hit a challenge while working with its API.

I can successfully retrieve the sessionid of a user. However, when I try to use it in subsequent requests, I receive an error that says the sessionid has timed out.

Here’s what I’ve tried so far:

  1. Successfully authenticated with user and password and retrieved the sessionid using [GET request to the https://www.ragic.com/AUTH endpoint].
  2. Used the sessionid of the user to retrieve the data sheet using [GET request to the https://eu3.ragic.com/myuser/ragicsystem/10001 endpoint].
  3. Got the following error: your sid parameter has timed out, code: 301

A few more details:

  • I’m using React with axios for my implementation.
  • I tested it from the online Ragic panel and it’s working.
  • I also tried with sysadmin user and I got the same error message.

More details about the implementation.

Could it be that I need to handle it differently? If anyone has experience working with the Ragic API, I’d appreciate guidance on how to resolve this issue!

Thanks in advance!
Cezar

I found the problem

1 Like