Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by thanh-taro
, 1 year ago
Expected BEGIN_ARRAY but was BEGIN_OBJECT at path $
via GitHub by bjdodson
, 2 years ago
Expected BEGIN_ARRAY but was STRING at path $.Keys.jesse
via GitHub by bjdodson
, 2 years ago
Expected BEGIN_ARRAY but was STRING at path $.ClusterKeys.ONE
com.squareup.moshi.JsonDataException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at path $ at com.squareup.moshi.JsonReader.beginArray(JsonReader.java:346) at com.squareup.moshi.ArrayJsonAdapter.fromJson(ArrayJsonAdapter.java:53) at com.squareup.moshi.JsonAdapter$1.fromJson(JsonAdapter.java:68) at com.squareup.moshi.JsonAdapter.fromJson(JsonAdapter.java:33) at com.squareup.moshi.JsonAdapter.fromJson(JsonAdapter.java:37) at com.e4bros.thodia.signin.SignInPresenter$6.onResponse(SignInPresenter.java:255) at com.e4bros.thodia.signin.SignInPresenter$6.onResponse(SignInPresenter.java:213) at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:67) at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:30) at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:99) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)