Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected token < in JSON at position 10 #270

Open
AbdellahF opened this issue Aug 14, 2017 · 1 comment
Open

Unexpected token < in JSON at position 10 #270

AbdellahF opened this issue Aug 14, 2017 · 1 comment

Comments

@AbdellahF
Copy link

Hi everyone,
can someone point me to the solution of this issue ?
Unexpected token < in JSON at position 10

@tobalsan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants