java.lang.IllegalArgumentException: @Path parameter name must match \{([a-zA-Z][a-zA-Z0-9_-]*)\}. Found: arrayPath:commaSeparated (parameter #1) for method PathsService.arrayCsvInPath

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 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
via Stack Overflow by Mohammed Alaa
, 2 months ago
@Path can only be used with relative url on @DELETE (parameter #2) for method WebApiInterface.deleteAbsence
via Stack Overflow by ken
, 11 months ago
@FieldMap keys must be of type String: K (parameter #2) for method g.d
via Stack Overflow by entusias
, 7 months ago
@Field parameters can only be used with form encoding. (parameter #1) for method Frames.list
via GitHub by nealsanche
, 2 weeks ago
Non-body HTTP method cannot contain @Body. >> for method AuthenticationApi.authV1PinDeleteDelete
via GitHub by JakeWharton
, 2 weeks ago
Non-body HTTP method cannot contain @Body. for method AuthenticationApi.authV1PinDeleteDelete
java.lang.IllegalArgumentException: @Path parameter name must match \{([a-zA-Z][a-zA-Z0-9_-]*)\}. Found: arrayPath:commaSeparated (parameter #1) for method PathsService.arrayCsvInPath
at retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:695)
at retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:686)
at retrofit2.ServiceMethod$Builder.parameterError(ServiceMethod.java:704)
at retrofit2.ServiceMethod$Builder.validatePathName(ServiceMethod.java:667)
at retrofit2.ServiceMethod$Builder.parseParameterAnnotation(ServiceMethod.java:391)
at retrofit2.ServiceMethod$Builder.parseParameter(ServiceMethod.java:328)
at retrofit2.ServiceMethod$Builder.build(ServiceMethod.java:201)
at retrofit2.Retrofit.loadServiceMethod(Retrofit.java:166)
at retrofit2.Retrofit$1.invoke(Retrofit.java:145)
at fixtures.url.implementation.$Proxy6.arrayCsvInPath(Unknown Source)
at fixtures.url.implementation.PathsImpl.arrayCsvInPath(PathsImpl.java:1386)

Users with the same issue

3 times, 7 months ago
2 times, 10 months ago
2 times, 1 year ago
3 times, 1 year ago
6 times, 1 year ago

Write tip

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