free geoip

JSON Parsing Error

4 Min Read

How to Fix BEGIN_OBJECT but was BEGIN_ARRAY Retrofit

If you’re working with Retrofit in Kotlin and encounter the error Expected BEGIN_OBJECT but was BEGIN_ARRAY, it usually means that…