Hi everyone!
I'm new in Telerik and I'm using the Backend Services with some Types and Users. So far, I can create and read elements in my Types and Users, but I can't update the information.
I have a form with the current user data, the user can update this data, so I do this when the submit button is clicked:
el.Users.updateSingle({
'Id': id,
'DisplayName': 'new display name',
'Email': 'the new email'
}, function(data) {
console.log("Saved: ");
console.log(data);
}, function(error) {
console.log("Error: ");
console.log(error);
});
The id is correct, but I get an "Error: " message. The problem here is that Telerik gives me an "undefined" error, so, my log shows:
Error:
undefined
Then, I can't save my user data, nor to know what the problem is...
The same issue happens with other Types...
Why this happen?
Note: I try to put and invalid user id, and I get an 2001 error, this means that Telerik is receiving my request, but when I send an correct id, it simply gives me an "undefined" error....
Thank you for your answers and sorry for my english.