Can't update any Type or User

2 posts, 0 answers
  1. Francisco
    Francisco avatar
    3 posts
    Member since:
    Jul 2016

    Posted 21 Jul 2016 Link to this post

    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:

            'Id': id,
            'DisplayName': 'new display name',
            'Email': 'the new email'
        }, function(data) {

           console.log("Saved: ");
        }, function(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:




    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.


  2. George
    George avatar
    500 posts

    Posted 25 Jul 2016 Link to this post

    Hello Francisco,

    I tried to reproduce the behavior you are describing, but to no avail. The code seems to work just fine on my end, thus I would like to ask you to help me in identifying the problem by asking you a few questions:
    1. What is the SDK version that you are using? I tried with 1.6.12. You can read how to check your SDK's version here:
    2. Can you please check what request is being send to our servers and what is the response that you are receiving? This can be done in the Network tab of Chrome -
    3. Maybe you have some cloud code that transforms the response wrongfully?

    Looking forward to your response.

    Telerik by Progress
    Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
Back to Top