cloudyr / limer

A LimeSurvey R Client
MIT License
67 stars 36 forks source link

get_session returns "Argument 'txt' must be a JSON string, URL or file." #11

Closed jexller closed 7 years ago

jexller commented 8 years ago

Any issues known with using https under R? Or is the UTF8 format broken in certain R versions?

Limer is not able to get a connection via https to a RPC-JSON Limesurvey (LS 2.06LTS installation). When trying to access the Limesurvey API via e.g. C# the connection is working.

The same issue was described here: https://gist.github.com/andrewheiss/fe64718c41991b1620f5

Jan-E commented 7 years ago

"The same issue" seems caused by a typo: export_resposes in stead of export_responses https://gist.github.com/andrewheiss/fe64718c41991b1620f5#gistcomment-1734270

We had no problem with R 3.3.0, and 2.06LTS over https.

andrewheiss commented 7 years ago

Yeah, closing this because of the export_resposes typo

trivender commented 6 years ago

@jexller : I am also getting same error. Are you able to figure this out? I did some debugging and realized that status code returned is 406 which should be 200.