0 Replies Latest reply on Sep 30, 2013 12:14 PM by isaac2004

    Errors Uploading Temporary Images using JIVE Api and C#

    isaac2004

      I am working on writing a process that uploads a photo to JIVE and setting it as a user's profile picture. I am using code built off of this Example Set

       

      https://community.jivesoftware.com/docs/DOC-82646#jive_content_id_Upload_Profile_Image

       

       

      The I get a successful location in the header of the response, but that url does not pull up the temporary photo.

      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.

       

      Is there a certain time window that needs to be used before temp photos are available?

       

      Please let me know if any additional information is needed.