When Uploading profile images using the API, the images are not changing.
I receive the access token without any problem.
I can change the profile image through the UI without any problem at all.
I then loop through all the jpg images in a directory (Only 4 for testing) uploading them using the API.
I receive a status OK after each loop through, but I do not see the change in the image. I verified that the orgID is correct.
Below is the function that does the upload written in C#.
I'm logging some results and they are below:
Any suggestions or ideas would be greatly appreciated.
Answers
-
Hello @Kyle.L.2357
Thank you for reaching out, My name is Mohit, and Iโm a member of the Product Support team. I have looked into the raised issue, and please know I have reached out to our internal team regarding the issue you've raised and am currently awaiting their response.
Rest assured, I will follow up with you as soon as I have an update.
In the meantime, if you have any additional questions or concerns, please donโt hesitate to let me know.
Best regards,
Mohit Bhargav -
Thanks for getting back to me Mohit.
I decided to try the same thing, except with a file stream instead of a byte stream.I ended up with the same results:
-
Hi Kyle,
From a glance at the code, it seems that the issue could be that the profile image route you're trying to use ends in /image (small-i) and not /Image (big-I).
Additionally, for help with code development and API structure, I would recommend posting this question in the Developers group, as they would have more insights on this matter. Which you can find it here:
Best regards,
Gabriel thurm
-
Thanks Gabriel! I appreciate you responding.
I'm a little confused at your response. You mention that what I'm sending uses a small i instead of a large i.
I looked at my code and it is sending the large i. I then look at what I sent you and it clearly shows a large i.
Did you mean to say I'm using a large i and I should be using a small i?
Anyway, I changed it to a small i and got the same success message and the image did not update.I will take your advice and post it in the developers group.
Kyle
-
Hello Kyle,
Thank you for trying to use the small i instead of the large i. You can certainly post it in the developers group or create a support case so we can have a look at this issue further as there may be an issue with the API.
Best regards,
Abrar Shakil