How To FIX Error When Uploading File Image Using Retrofit 2.0

when i’m using tutorial post image JPEG to my server using this tutorial .

my image failed to upload and show error message “your file not allowed to upload”. and then im change MediaType.parse(“multipart/form-data”) to “image/jpg” spesific file type.

Booya My file Succes to upload :D