title: Modifying user attribute user CloudCode {"code":201,"message":"missing user password"}]
body: <p>This thread is somewhat similar to:
  <a href="https://stackoverflow.com/questions/18649197/parse-com-saving-attributes-on-a-user-fetched-from-a-query-i-e-not-on-the-cu">Saving attributes on a user fetched from a query (i.e. not on the currentUser)</a></p>
  
  <p>We have this CloudCode:</p>
  
  <pre><code>Parse.Cloud.define('fillArrays', function(request, response) {
      var userId = request.params.userId,
          mails = request.params.mails;
          names = request.params.names;
  
      var User = Parse.Object.extend('_User'),
          user = new User({ objectId: userId });
  
      user.set('mailsOfContacts', mails);
      user.set('nameOfContacts', names);
  
  
      Parse.Cloud.useMasterKey();
      user.save().then(function(user) {
           response.success(user);
       }, function(error) {
           response.error(error)
       });
   });
  </code></pre>
  
  <p>Since we use: <code>Parse.Cloud.useMasterKey();</code> everything should run smoothly, but instead I get:
  <code>{"code":201,"message":"missing user password"}</code>.</p>
  
  <p>Even if the user I try to modify is the one I am currently logged in with, by the way.
  Could anybody help me with the issue I'm having?</p>
  
  <p>I would like to add that this error is produced when calling the cloudCode ONLY from the PHP WebApp which uses the standard php sdk, and not when called from the iOS app.</p>