Expected BEGIN_ARRAY but was BEGIN_OBJECT at path $

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 web10

  • via Stack Overflow by Matsurf
    , 1 month ago
    Expected BEGIN_OBJECT but was BEGIN_ARRAY at path $
  • via GitHub by thanh-taro
    , 11 months ago
    Expected BEGIN_ARRAY but was BEGIN_OBJECT at path $
  • Expected BEGIN_ARRAY but was STRING at path $.Keys.jesse
  • Stack trace

    • com.squareup.moshi.JsonDataException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at path $ at com.squareup.moshi.JsonReader.beginArray( at com.squareup.moshi.ArrayJsonAdapter.fromJson( at com.squareup.moshi.JsonAdapter$1.fromJson( at com.squareup.moshi.JsonAdapter.fromJson( at com.squareup.moshi.JsonAdapter.fromJson( at com.e4bros.thodia.signin.SignInPresenter$6.onResponse( at com.e4bros.thodia.signin.SignInPresenter$6.onResponse( at at at$ at android.os.Handler.handleCallback( at android.os.Handler.dispatchMessage( at android.os.Looper.loop( at at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke( at$ at

    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

    You’re the first here who have seen this exception.