I am using an React avatar cropper that uses ajax to upload the cropped image to the local server or AWS cloud. I keep getting this error 422 (Unprocessable Entity)
so to investigate it further I added 'HTML_Error': jqXhr.responseText,
to the error: function()
within the $.ajax
method.
This is the browser console response:
In viewing dp
you would see that it is a png file but the HTML_Error
says the file must be a jpg, jpeg or png so I am not sure what I'm missing here.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1Y29Uhl
via IFTTT
Aucun commentaire:
Enregistrer un commentaire