Hi vladimir ,
The error message "no CSRF cookie" typically indicates an issue with Cross-Site Request Forgery (CSRF) protection. CSRF protection is a security measure to prevent unauthorized actions from being executed via forged requests.
Here are a few things you might want to check to troubleshoot this issue:
- CSRF Token Generation: Ensure that the CSRF token is being generated and set correctly. The token should be unique for each session and should be included in the request headers when making requests to the server.
- CSRF Token Inclusion: Verify that the CSRF token is being included in the request headers when executing the jaql query. Double-check the request headers to make sure the XSRF-TOKEN cookie is being sent along with the request.
- Cookie Settings: Check if the XSRF-TOKEN cookie is set with the correct path and domain. Sometimes, incorrect cookie settings can cause issues with CSRF protection.
- Server-side Configuration: Ensure that the CSRF protection is OFF in Sisense Security settings, if you are calling the request from a domain different than the Sisense one. You can find more details about CSRF here: https://docs.sisense.com/main/SisenseLinux/csrf.htm
Let me know if the above helps and feel free to create a support ticket, if assistance is still required.