Related: Assignments, Files, How To - Faculty, How To - Student, Troubleshooting

I’ve received an “Invalid JSON string” error. What do I do?

 
 

An invalid JSON error can occur for many reasons.

  1. The most common issue is usually associated with a file upload attempt, and can occur when:
    1. Attempting to upload a file with the same name as another already-uploaded file;
    2. Attempting to upload a file that is too large for the system (Sitewide the limit is 64MB; however, individual classes may vary—you can check your course settings);
    3. Attempting to upload a file type that the system doesn’t recognize; or
    4. Attempting to upload a file with a period or special characters in the file name.
  2. Another common cause of this issue is the age of the system or version of the browser that is being used. The older systems/browser versions are not as compatible as our software is continually upgraded to provide the best security. We recommend keeping your browser and operating system current with all updates.

    Note: if you have an older system and are considering an upgrade, Technology Services has put together both a laptop purchasing portal and a list of the recommended system requirements to be able to fully use all that Trinity has to offer.

  3. JSON itself is related Javascript, a computer language that helps your browser function properly. So if your browser is not in optimal form, the likelihood for an error increases. It’s possible that your browser has held onto a file in its temporary files or cookies that is causing an issue for Moodle. Follow the steps below to clear out your temporary files and cookies.

On campus, the default browser is currently Internet Explorer. If you are using a different browser, let me know and I can provide steps for that browser!

  1. Open Internet Explorer. If it is already open, log out of Moodle.
  2. In the upper right corner, locate the set of three icons: a house (IE Homepage), a star (IE Favorites), and a gear (IE tools).

  1. Click on the “gear” to bring up IE’s tools:
  2. From the list of Tools, choose the “Internet Options” link near the bottom:
  3. The “Internet Options” will open in a pop-up window. You will be located in the “General” tab of the “Internet Options” window. Look to the middle of the “General” screen and find the area labeled “Browsing History.” Click on the “Delete” button in that area.
  4. On the next screen you have two options.
    1. OPTION #1 – Leave the default boxes “as is” (leave checked boxes checked and unchecked boxes unchecked). Click the “Delete” button at the bottom of the screen. THIS WILL DELETE ANY SAVED PASSWORDS — use option #2 to save your passwords.
    2. OPTION #2 – If you have saved Moodle as one of your browser’s favorites, you will want to uncheck the first box so that IE clears any Moodle-related files and cookies as well. Once the box next to “Preserve Favorites website data” is unchecked, scroll down to the bottom and click the “Delete” button.
  5. Either option will bring you back to the “General” tab in the “Internet Options” pop-up box while IE thinks through the deleting process. Depending on the number of files and cookies you may have, this could take upwards of a couple of minutes. You will know the browser is done, because you will receive a notification at the bottom of the screen. When it shows up, you can click the “OK” button to return to your browser.
  6. Now you can log back into to Moodle and try uploading again.

This entry was posted in Assignments, Files, How To - Faculty, How To - Student, Troubleshooting. Bookmark the permalink.

Comments are closed.


For more information, contact Moodle Support, MoodleSupport@trinitydc.edu.