I’m trying to save a new object in backendless but the server report error code ‘1000’ !!!
here is my code :
let dataStore = self.backendless.data.of(Posts.ofClass())
dataStore.save(self.newPost, response: { (result : AnyObject!) -> Void in
let newPostSaved = result as! Posts
self.loadedData[0] = newPostSaved
self.tableView.reloadData()
}, error: { (let fault : Fault!) -> Void in
print(“Server report error from create post with image : (fault)”)
})
error message returned : FAULT = ‘1000’ [Entity with the specified ID cannot be found: Id - missing id] <Entity with the specified ID cannot be found: Id - missing id>
Any suggestion please