You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 8, 2018. It is now read-only.
sorry i unexpectedly closed that issue
this is i got..
java.lang.IllegalArgumentException: @part parameters can only be used with multipart encoding. (parameter #3)
for method EkalawyaApi.updateProfile
at retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:752)
at retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:743)
at retrofit2.ServiceMethod$Builder.parameterError(ServiceMethod.java:761)
at retrofit2.ServiceMethod$Builder.parseParameterAnnotation(ServiceMethod.java:592)
at retrofit2.ServiceMethod$Builder.parseParameter(ServiceMethod.java:336)
at retrofit2.ServiceMethod$Builder.build(ServiceMethod.java:204)
at retrofit2.Retrofit.loadServiceMethod(Retrofit.java:170)
at retrofit2.Retrofit$1.invoke(Retrofit.java:147)
at java.lang.reflect.Proxy.invoke(Proxy.java:913)
at $Proxy0.updateProfile(Unknown Source)
code i have used. @post("/user/profile/update")
fun updateProfile(@Header("Authorization") headerAuth: String, @Body@multipart(name = "image", mimeType = "image/*") file: Uri, @part("name")name: RequestBody, @part("email")email: RequestBody): Observable