My api call is like this
@FormUrlEncoded
@POST("/dealer/index.php")
void getDealersPacks(
@Query("r") String query,
@Field("cd_dealer_id")
String cd_dealer_id,
@Field("country_code")
String country_code,
@Field("business_type")
String business_type, Callback<String> cb);
And i am getting this error
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_STRING but was OBJECT at line 1 column 59 path $.