I seem to be all of a sudden running into this problem of being unable to save new objects in my table because of a ‘duplicate entry’ error.
I seemed to not have this error at all till now, and not sure why. No columns on my table appear to be constrained by any type of uniqueness, and I want it to always save this type of activity object.
Any idea where it could be tripping up?
My table schema and code that I am using to save is attached.
App ID - 29100CD0-A42D-0188-FFEC-947AB5CA5900
Perhabs you have unique constraint on some column and you are trying to insert another one row with same value of unique column?
Nah i think from the attached screenshots you could see I have no constraints on any of the columns.
I did however delete the app off my device and rebuilt it, and the problem went away.
Not sure why, and what wouldve been the better way of resolving it rather than deleting the app.
If such problem will rise again, please contact us and we will cure your application without deleting it)