title: Google Plus Media-Insert - Google Domains API - 403 Forbidden
body: <p>I am trying to upload an image to Google+ using Javascript/JQuery; I have an access token which I can use to authenticate POST requests successfully but I get the following response when I attempt to use G+ Media Insert (<a href="https://developers.google.com/+/domains/api/media/insert" rel="nofollow">https://developers.google.com/+/domains/api/media/insert</a>):</p>
  
  <pre><code>{
   "error": {
    "errors": [
     {
      "domain": "global",
      "reason": "forbidden",
      "message": "Forbidden"
     }
    ],
    "code": 403,
    "message": "Forbidden"
   }
  }
  </code></pre>
  
  <p>I haven't configured Domain-wide delegation because I expect the user to sign in to generate the access token (is this perhaps the issue?). I have enabled the Google+ Domains API in the Developer console and the relevant scopes are in place but I can't figure out why I receive a 403 error. The following AJAX request is being used:</p>
  
  <pre><code>var postForm = new FormData();
  postForm.append("source",[code which generated a blob]);
  postForm.append("displayName", "TestUpload");
  
  $.ajax({
      url: "https://www.googleapis.com/upload/plusDomains/v1/people/me/media/cloud",
      headers: {"Authorization": "Bearer " + acToken},
      type:"POST",
      uploadType: "multipart/related",
      processData:false,
      contentType:false,
      cache:false,
      data: postForm,
  });
  </code></pre>
  
  <p>Any help would be appreciated, I can provide more information if needed.</p>
  
  <p>PS: I am actually using a userID instead of <code>me</code> in the URL for the moment</p>