java.lang.IllegalArgumentException: Multipart method must contain at least one @Part. for method c.a

GitHub | koral-- | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Fatal Exception: java.lang.IllegalArgumentException: Multipart method must contain at least one @Part.

    GitHub | 7 months ago | koral--
    java.lang.IllegalArgumentException: Multipart method must contain at least one @Part. for method c.a
  2. 0

    GitHub comment 66#246751274

    GitHub | 6 months ago | koral--
    java.lang.IllegalArgumentException: Multipart method must contain at least one @Part. for method c.a

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Multipart method must contain at least one @Part. for method c.a

    at retrofit2.ServiceMethod$Builder.methodError()
  2. retrofit2
    ServiceMethod$Builder.methodError
    1. retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:695)
    1 frame
  3. retrofit2.Retrofit.retrofit2
    ServiceMethod$Builder.methodError
    1. retrofit2.Retrofit.retrofit2.ServiceMethod$Builder.methodError(Retrofit.java:13686)
    1 frame
  4. retrofit2
    Retrofit$1.invoke
    1. retrofit2.Retrofit$1.invoke(Retrofit.java:145)
    1 frame
  5. Java RT
    Proxy.invoke
    1. java.lang.reflect.Proxy.invoke(Proxy.java:393)
    1 frame
  6. Unknown
    $Proxy7.a
    1. $Proxy7.a(Unknown Source)
    1 frame
  7. com.twitter.sdk
    TweetUploadService.uploadAppCardTweet
    1. com.twitter.sdk.android.tweetcomposer.TweetUploadService.uploadAppCardTweet(TweetUploadService.java:1115)
    1 frame
  8. Android Platform
    HandlerThread.run
    1. android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
    2. android.os.Handler.dispatchMessage(Handler.java:102)
    3. android.os.Looper.loop(Looper.java:148)
    4. android.os.HandlerThread.run(HandlerThread.java:61)
    4 frames