I am a super noobie to Retrofit and changed existing code of a class to send a list of strings instead of a single string. However with the change I get the above error. The class is defined as :
class MyEvent {
public List<String> orderIds;
public MyEvent(List<String> orderIds) {
this.orderIds = orderIds;
}
}
and then at the calling code for this I have :
new MyEvent(orderIds))
where orderIds is List
However the moment I use this in my request it fails back and goes into :
public void failure(RetrofitError error) {
How do i figure out what i am doing wrong? Any pointers gladly appreciated.