IllegalArgumentException in Retrofit / must not have replace block January 29, 2023 by Tarik You should do it like that instead: @GET("api.php") Call<Model> getRoms_center(@Query("company_name") String name);