Wrong Schema Error code 2004

Am getting the error

Backendless Fault = BackendlessFault{ code: '2004', message: 'Wrong schema: mypackagename.ModelClass$1}

ModelClass table has a 1:N relationship with my Users table at a depth of 1.

Surprised because it was working before until i wrote an interface between a photo chooser dialog and the fragment that makes the backendless call to send the ModelClass values to the backend. A photo url retrieved from Files is one of the values being stored.

What could i have done wrong?

Coincidentally, i have 7 other classes each correspoding to a table with a 1:N relationship with the Users table in the backend that are working fine, all structured the same, and implementing the said interface.

Hi George,

Can you please publish the code of your data classes?

public class ModelClass1 implements Parcelable {


    public int id;


    public String firstName;


    public String lastName;


    public String dateFrom;


    public String dateTo;


    public String modelClass1Photo1Path;


    public String modelClass1Photo2Path;


    public String modelClass1Photo3Path;




    @Override
    public int describeContents() {
        return 0;
    }


    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.id);
        dest.writeString(this.firstName);
        dest.writeString(this.lastName);
        dest.writeString(this.dateFrom);
        dest.writeString(this.dateTo);
        dest.writeString(this.modelClass1Photo1Path);
        dest.writeString(this.modelClass1Photo2Path);
        dest.writeString(this.modelClass1Photo3Path);
    }


    public ModelClass1() {
    }


    protected ModelClass1(Parcel in) {
        this.id = in.readInt();
        this.firstName = in.readString();
        this.lastName = in.readString();
        this.dateFrom = in.readString();
        this.dateTo = in.readString();
        this.modelClass1Photo1Path = in.readString();
        this.modelClass1Photo2Path = in.readString();
        this.modelClass1Photo3Path = in.readString();
    }


    public static final Parcelable.Creator<ModelClass1> CREATOR = new Parcelable.Creator<ModelClass1>() {
        @Override
        public ModelClass1 createFromParcel(Parcel source) {
            return new ModelClass1(source);
        }


        @Override
        public ModelClass1[] newArray(int size) {
            return new ModelClass1[size];
        }
    };
}

I’ve tried the getters & setters version of the data class as well.

The class looks fine at first site. Please, prepare a minimal sample which could be run as is and would reproduce the problem you described.