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

GitHub | jianghaolu | 5 months ago
  1. 0

    Allow colons (":") in path parameters

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

    Error when using Retrofit

    Stack Overflow | 7 months ago | rost_proz
    java.lang.IllegalArgumentException: No Retrofit annotation found. (parameter #1) for method VideoApi.getFeaturedVideo
  3. 0

    SDK 24 Incompatibility

    GitHub | 5 months ago | arammkhitaryan
    java.lang.IllegalArgumentException: Unable to create call adapter for interface retrofit2.Call for method ......
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1900#231133825

    GitHub | 5 months ago | JakeWharton
    java.lang.IllegalArgumentException: Unable to create call adapter for interface retrofit2.Call for method ......
  6. 0

    GitHub comment 1940#235137135

    GitHub | 4 months ago | gushoubang
    java.lang.IllegalArgumentException: Only one HTTP method is allowed. Found: DELETE and DELETE. for method ApiService.deleteMessage

  1. Diogo Jaym 2 times, last 5 months ago
  2. Kawada 3 times, last 5 months ago
  3. laszlo.kustra 6 times, last 7 months ago
  4. Larten 2 times, last 9 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. retrofit2
    Retrofit$1.invoke
    1. retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:695)
    2. retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:686)
    3. retrofit2.ServiceMethod$Builder.parameterError(ServiceMethod.java:704)
    4. retrofit2.ServiceMethod$Builder.validatePathName(ServiceMethod.java:667)
    5. retrofit2.ServiceMethod$Builder.parseParameterAnnotation(ServiceMethod.java:391)
    6. retrofit2.ServiceMethod$Builder.parseParameter(ServiceMethod.java:328)
    7. retrofit2.ServiceMethod$Builder.build(ServiceMethod.java:201)
    8. retrofit2.Retrofit.loadServiceMethod(Retrofit.java:166)
    9. retrofit2.Retrofit$1.invoke(Retrofit.java:145)
    9 frames
  3. fixtures.url.implementation
    PathsImpl.arrayCsvInPath
    1. fixtures.url.implementation.$Proxy6.arrayCsvInPath(Unknown Source)
    2. fixtures.url.implementation.PathsImpl.arrayCsvInPath(PathsImpl.java:1386)
    2 frames