Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Issue with LimeSurvey RemoteControl2 API: No Session Key Returned Despite 200 OK

  • steessex
  • steessex's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 months 2 weeks ago #266680 by steessex
Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey hosting:
Survey theme/template:
==================
(Write here your question/remark)

Please Log in to join the conversation.

  • steessex
  • steessex's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 months 2 weeks ago #266681 by steessex
Please note your forum is not working and allowing me to add message body, only title. Only allows me in quick reply hence the image. This is what I needed to say:

Title: Issue with LimeSurvey RemoteControl2 API: No Session Key Returned Despite 200 OK Response

Body: Hello,

I'm working on integrating LimeSurvey's RemoteControl2 API with my application to automatically create surveys. I successfully enabled the API and am sending a get_session_key request via Postman. The request returns a 200 OK status, but no session key is provided in the response body—it's completely blank. I've verified my username, password, and server configuration. Has anyone experienced a similar issue or can offer advice on what might be wrong?

Thank you in advance!
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

  • steessex
  • steessex's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 months 2 weeks ago #266682 by steessex
Using JSON-RPC
LimeSurvey version
6.6.2
LimeSurvey build
240827
Operating system
Linux c105134.sgvps.net 6.6.21-MCIclouder470 #470 SMP PREEMPT_DYNAMIC Fri Mar 8 08:09:36 EET 2024 x86_64
PHP version
7.4.33
Web server name
limesurvey.cloud
Web server software
Apache
Web server info
Database driver
mysql
Database driver version
mysqlnd 7.4.33
Database server info
Uptime: 551833 Threads: 1 Questions: 2846995 Slow queries: 20 Opens: 65024 Flush tables: 3 Open tables: 3072 Queries per second avg: 5.159
Database server version
8.0.36-28

Please Log in to join the conversation.

  • steessex
  • steessex's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 months 2 weeks ago #266697 by steessex
please note, for testing purposes, I turned the 'RPC interface enabled: to XML-RPC' and re-tested through Postman and it returned a session key immediately, so it looks like there certainly may well be an issue with JSON.

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose