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 | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Allow colons (":") in path parameters

    GitHub | 7 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

    GitHub comment 1900#231133825

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

    Android - google direction api using retrofit?

    Stack Overflow | 6 months ago | Fidelis
    java.lang.IllegalArgumentException: Service methods cannot return void. for method MyApiRequestInterface.getJson
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error when using Retrofit

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

    GitHub comment 1940#235137135

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

  1. filpgame 2 times, last 2 weeks ago
  2. Indri Yunita 2 times, last 1 month ago
  3. Diogo Jaym 2 times, last 8 months ago
  4. Kawada 3 times, last 8 months ago
  5. laszlo.kustra 6 times, last 10 months ago
1 more registered users
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