limer icon indicating copy to clipboard operation
limer copied to clipboard

Log in not working

Open jorgesinval opened this issue 5 years ago • 4 comments

When I use the function get_session_key after defining the username, password, and API, I get the following error:

Error: Argument 'txt' must be a JSON string, URL or file.

Any thoughts?

jorgesinval avatar Jan 22 '20 11:01 jorgesinval

i have the same issue, trying to access a LimeSurvey 4.1.15 installation. It seems like an error from the function jsonlite::toJSON within get_session_key and that it somehow doesn't get or like the lime_api URL from the options. But I couldn't really solve it yet. Any success?

SebastianHuter avatar Apr 16 '20 17:04 SebastianHuter

I have not tried LimeSurvey 4.x yet, but I have experienced the given error message temporarily, sometimes over the course of one or two days. If all LimeSurvey settings are defined correctly, it may legitimately be a "just wait a bit and try again" issue if you're lucky.

(I could never figure out what caused the issue, sorry)

jemus42 avatar Apr 16 '20 22:04 jemus42

Set RPC-Interface to JSON-RPC in your limesurvey global settings.

akuehn avatar May 08 '20 13:05 akuehn

that did the trick, thank you!

SebastianHuter avatar May 09 '20 14:05 SebastianHuter