java.lang.IllegalArgumentException

@FieldMap keys must be of type String: K (parameter #2) for method g.d

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web20699

  • @FieldMap keys must be of type String: K (parameter #2) for method g.d
  • PodApi.sendMultipleLocations: @FieldMap parameter type must be Map. (parameter #2)
  • PodApi.sendMultipleLocations: @FieldMap parameter type must be Map. (parameter #2)
  • Stack trace

    • java.lang.IllegalArgumentException: @FieldMap keys must be of type String: K (parameter #2) for method g.d at retrofit2.ServiceMethod$Builder.methodError(Unknown Source) at retrofit2.ServiceMethod$Builder.methodError(Unknown Source) at retrofit2.ServiceMethod$Builder.parameterError(Unknown Source) at retrofit2.ServiceMethod$Builder.parseParameterAnnotation(Unknown Source) at retrofit2.ServiceMethod$Builder.parseParameter(Unknown Source) at retrofit2.ServiceMethod$Builder.build(Unknown Source) at retrofit2.Retrofit.loadServiceMethod(Unknown Source) at retrofit2.Retrofit$1.invoke(Unknown Source) at $Proxy0.d(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    3 times, 1 month ago
    2 times, 4 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    2 times, 1 year ago
    4 more bugmates