Unexpected token < in JSON at position 10
AbdellahF opened this issue · 1 comments
AbdellahF commented
Hi everyone,
can someone point me to the solution of this issue ?
Unexpected token < in JSON at position 10
tobalsan commented
Hey,
it's because the plugin immediately uploads to the server, so the script expects a JSON response.
Read again the doc, especially the UPLOAD URL section.
Note that if you don't want your file uploaded before cropping, you can set the option processInline
to true
.