java.lang.IllegalArgumentException: @Field parameters can only be used with form encoding. (parameter #1) for method ZulipServices.loginDEV

Hot problem!
This exception has a lot of traffic. You can help 24 users by writing a short tip.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Sam1301
, 1 year ago
@Field parameters can only be used with form encoding. (parameter #1) for method ZulipServices.loginDEV
via Stack Overflow by Mohammed Alaa
, 1 week ago
@Path can only be used with relative url on @DELETE (parameter #2) for method WebApiInterface.deleteAbsence
via Stack Overflow by ken
, 9 months ago
@FieldMap keys must be of type String: K (parameter #2) for method g.d
via Stack Overflow by entusias
, 5 months ago
@Field parameters can only be used with form encoding. (parameter #1) for method Frames.list
via Stack Overflow by EdwinU
, 11 months ago
@Body parameters cannot be used with form or multi-part encoding. (parameter #1) for method ApiInterface.AuthUser
via GitHub by jianghaolu
, 1 year ago
@Path parameter name must match \{([a-zA-Z][a-zA-Z0-9_-]*)\}. Found: arrayPath:commaSeparated (parameter #1) for method PathsService.arrayCsvInPath
java.lang.IllegalArgumentException: @Field parameters can only be used with form encoding. (parameter #1) for method ZulipServices.loginDEV
at retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:720)
at retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:711)
at retrofit2.ServiceMethod$Builder.parameterError(ServiceMethod.java:729)
at retrofit2.ServiceMethod$Builder.parseParameterAnnotation(ServiceMethod.java:501)
at retrofit2.ServiceMethod$Builder.parseParameter(ServiceMethod.java:333)
at retrofit2.ServiceMethod$Builder.build(ServiceMethod.java:202)
at retrofit2.Retrofit.loadServiceMethod(Retrofit.java:166)
at retrofit2.Retrofit$1.invoke(Retrofit.java:145)
at java.lang.reflect.Proxy.invoke(Proxy.java:393)
at undefined.$Proxy1.loginDEV(Unknown Source)
at com.zulip.android.activities.DevAuthActivity$1.onItemClick(DevAuthActivity.java:68)
at com.zulip.android.activities.AuthEmailAdapter$AuthEmailViewHolder.onClick(AuthEmailAdapter.java:101)
at android.view.View.performClick(View.java:5714)
at android.widget.TextView.performClick(TextView.java:10926)
at android.view.View$PerformClick.run(View.java:22589)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:7325)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Users with the same issue

2 times, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 1 year ago
4 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.