{"code":120,"message":"Only jpg/jpeg, gif or png image file can be uploaded."} | Community
Skip to main content
Newcomer
January 19, 2022
Question

{"code":120,"message":"Only jpg/jpeg, gif or png image file can be uploaded."}

  • January 19, 2022
  • 1 reply
  • 0 views

Trying to get the API working for the last 3 days with no luck. Submitted a support ticket but they don't seem to be getting any clue either.

I am out of options and hoping someone could help.

 

Here is my REST request :

POST Endpoint: https://api.zoom.us/v2/users/${email}/picture

Headers: 

content-type: multipart/form-data; boundary=8d6be10c4d2aee8

Content:

--8d6be10c4d2aee8
Content-Disposition: form-data; name=pic_file; Filename=file.jpg
Content-Type: image/jpeg

${rawBinary}
--8d6be10c4d2aee8--

 

Response:  {"code":120,"message":"Only jpg/jpeg, gif or png image file can be uploaded."}

    1 reply

    Community Manager
    March 28, 2022

    Hey @ycd apologies for the delay in getting a response to your discussion! But I would suggest posting this over in our Developer Forum at https://devforum.zoom.us/