-
Notifications
You must be signed in to change notification settings - Fork 10
java.lang.IllegalStateException: #2
Comments
This is not related to the library itself it's a parse error. Your response is expecting a object while the real response is returning an array. |
I think this api is not compatible with json array response , if it is compatible with json array response ,please give the some live of code , for your kind information i am using as: @get("marvel") |
I can try on the weekend. |
It was expecting object because you did Instead, try
Assuming |
I have the same error and I can´t figure out what is the error. I tried with LiveDataCallAdapter from google examples and get the same error. But If I try with Call object its works. UPDATE: Never mind. It was my error. It is working now |
I am using your live data adapter but I got error in observer callback, please look at the issue.
java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
The text was updated successfully, but these errors were encountered: