backendless.js:359 PUT https://api.backendless.com/v1/data/Person 403 (Forbidden)sendRequest


var dataCollection = Backendless.Persistence.of(Person).find();
    console.log('Persons found  ' + JSON.stringify(dataCollection))


    var personalInfo = new Person({
      fname: organizer.fname,
      lname: organizer.lname,
      email: organizer.email,
      phone: organizer.phone,
      address: organizer.address
    });


    console.log('Persons To be added  ' + JSON.stringify(personalInfo))
    var dataCollection = Backendless.Persistence.of(Person).save(personalInfo);

 In the above code, I am retrieving all the Person stored which works correctly. But when I try to add new        Person to backendless, I get the following error. can any one help?

backendless.js:359 PUT https://api.backendless.com/v1/data/Person 403 (Forbidden)sendRequest @ backendless.js:359cacheMethods.ignoreCache @ backendless.js:217Backendless._ajax_for_browser @ backendless.js:381DataStore.save @ backendless.js:1010Person.save @ Person.js


backendless.js:383 Uncaught [object Object]Backendless._ajax_for_browser @ backendless.js:383DataStore.save @ backendless.js:

Hi Nabil,

Could you provide more deatail exeption after:

backendless.js:383DataStore.save @ backendless.js:

Could you also check your permission settings. Such an exception could be risen if deny user registration for this version of application.

Regards,

Denys

Here is a screen shot of the same error. That’s all error I see on chrome console.

For some reason, I can update tables that don’t have relations but I can’t update the ones that have.

It probably has something to do with my data model. Can you check please. I have attach two screen shots of the schema for the table I am trying to update and the data model for that.

With this data model, I am able to retrieve but not update.

Thanks

Team.txt (2.37kB)

Could you attach a screenshot of the "User Permission"s and “Role Permissions” screens for the Team table?

Thanks for the reply,
Here you go with the screen shots.

please provide your application id