2 Replies Latest reply on Apr 30, 2013 1:25 PM by ricardo.linero

    Issue uploading profile image via REST API V3

    ricardo.linero

      Hello

       

      i have been working for a few months with the REST API V3 for JIVE, wich had resulted very helpful, but know i am stucked in some problem that i am starting to see as an issue of the JIVE instances, maybe a bug

       

      i succesfully create an user with the REST service for it the i wait 5 seconds and upload an image to /profileImages/temporary, this request gets a response with the URL of the temporary resource, http://ext.uat5.jivesoftware.com/api/core/v3/profileImages/temporary/tempImage5219742870981251342.bin, then i wait 5 seconds and use this temporary resource url to send a request to /people/{personID}/1, because i need to set it as profile image immediately; i am getting this error when i try this last part:IOException: Server returned HTTP response code: 400 for URL: http://ext.uat5.jivesoftware.com/api/core/v3/people/2102/images/1 and when i check the temporary URL in my browser i get this response:

       

      throw 'allowIllegalResourceCall is false.';

      {"error":{"message":"The temporary profile image has expired","status":400}}

       

      the thing is that this error happens just sometimes and with different users, or file pictures. Even when i check temporary URLs from older request they are still available.