title: How can I fix the error with my code? I use back4app
body: <p>I've been using back4app for a challenge someone has give me. I use vanilla javascript with this and I need help with this error. It's error 206 Insufficient Auth. Here's my code. It's supposed to update the users className.</p>
  <pre><code>function updateClassName(foundUser) {
      const updateTo = document.getElementById(&quot;s-className&quot;).value;
      foundUser.set('classname', updateTo);
      foundUser.save().then(function(user) {
        console.log(user.get(&quot;classname&quot;));
      }).catch(function(error) {
        console.log(error.code + &quot; &quot; + error.message);
      });
    }
    
    function read() {
      const User = Parse.Object.extend('User');
      
      const query = new Parse.Query(User);
      
      query.equalTo(&quot;classname&quot;, 'undefined');
      query.first().then(function(user) {
        if(user) {
          console.log(user.get(&quot;username&quot;));
          updateClassName(user);
        }
        else {
          console.log(&quot;Nothing found...&quot;);
        }
      })
      
    }
  </code></pre>