Patricia Vazquez

Upload an image using API REST

Discussion created by Patricia Vazquez on May 26, 2017
Latest reply on May 26, 2017 by Patricia Vazquez

Hi all

I'm trying to upload an image to a field from a record. I'm using postman with the endpoints from SugarCRM.

But I don't know how to do it and I don't see any example. The response that I obtain is {"error": "missing_parameter",
"error_message": "Attachment is missing"} or {
"error": "request_too_large",
"error_message": "Invalid file format, it is only possible to upload files with images."

I attach an screenshot

Please, I need some advice

Thank you all