Invalid JSON string

Invalid JSON string

by Russell Thomson -
Number of replies: 3

Moodle 2.4

I was trying to correct the appearance of a quiz so I deleted a small sound file and tried to upload it again. While uploading in file picker I received 'Invalid JSON string'. Any solutions?

Average of ratings: -
In reply to Russell Thomson

Re: Invalid JSON string

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers

Your problem might be solved in a number of ways, and maybe others will jump in with advice.

I am not an expert at these issues, but you might want to first make sure that your server had json support enabled.  Below is an example of what I see about json on my own server.

Attachment json.jpg
In reply to Rick Jerz

Re: Invalid JSON string

by Александр Самок -

Same problem. There is a "invalid json string" when i'm trying to upload youtube URL. JSON enabled, moodle 2.4