Welcome, Guest
Username: Password: Remember me

TOPIC: RPC No Permission with Super admin user

RPC No Permission with Super admin user 4 months 2 weeks ago #108059

Can someone help me with this one.

I'm calling export_statistics via RPC but var_dump() returns "Error: No Permission" when my session key is set with a super admin user.

Can you help me?
Thanks
$sessionKey= $myJSONRPCClient->get_session_key( LS_USER, LS_PASSWORD );
$responses = $myJSONRPCClient->export_statistics (
$sessionKey,
$survey_id,
"pdf",
"fr",
"1"
);
file_put_contents("stat.pdf", base64_decode($responses),LOCK_EX);
var_dump($responses);
Last Edit: 4 months 2 weeks ago by stevelegare.
The administrator has disabled public write access.

RPC No Permission with Super admin user 4 months 2 weeks ago #108066

export_statistics works only if you are the owner of the survey
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.142 seconds
Donation Image