Posts by Paulo Gustavo Simplicio de Ara • 1 point
1 post
-
0
votes0
answers23
viewsQ: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 Colum 2 path
I am trying to consume data from an API using retrofit, but whenever I try to connect it returns this error. I realized that an array would be expected but the API is returning an object. But I’m…