• Getting this error when uploading the json file created by bodymovin.

    “The file type that you’ve uploaded is not a JSON file.”

    How do I get past this to upload? It is a json file that I’m uploading — I checked the file extension to make sure.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author iodsgn

    (@develoved)

    Hi,

    Which browser are you using?

    Thread Starter roni_gabriel

    (@roni_gabriel)

    Chrome — latest version.

    I tried on another site too and same result.

    Hope can find a solution. Thanks for helping.

    Plugin Author iodsgn

    (@develoved)

    Hey,

    If you Could send me the json file so I can check it out at [email protected]

    Hi,
    I’m having the same issue after uploading … “The file type that you’ve uploaded is not a JSON file.”
    The JSON file seems to run fine when called from a local “demo.html” file that was generated by AE.
    I’ve added the following lines at the end of my functions.php…
    add_filter( ‘upload_mimes’, ‘my_myme_types’, 1, 1 );
    function my_myme_types( $mime_types ) {
    $mime_types[‘svg’] = ‘image/svg+xml’; // Adding .svg extension
    $mime_types[‘json’] = ‘application/json’; // Adding .json extension
    return $mime_types;
    }
    I’m running the latest version of Chrome.
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘The file type that you’ve uploaded is not a JSON file.’ is closed to new replies.