If you are receiving from Retrofit request as response an included object with a relation that has a null attribute and you declared it as String is giving:
com.squareup.moshi.JsonDataException: Expected a name but was NULL at path $.attributes.logo_url
If you are receiving from Retrofit request as response an included object with a relation that has a null attribute and you declared it as String is giving:
com.squareup.moshi.JsonDataException: Expected a name but was NULL at path $.attributes.logo_url
The response: