Due to using Pipedrive API in my app, faced File upload… I have an image data:image/png;base64,
generated, and after runing uploading the query (
-
method: 'POST', contentType: 'multipart/form-data'
, -
body: {
file: data:image/png;base64, ALL_THE_IMG_DATA,
-
deal_id: postedDealData.id,
},
)
I’ve gotten an error
{
success: false,
error: 'No files were provided with the request.',
error_info: 'Please check developers.pipedrive.com for more information about Pipedrive API.',
data: null,
additional_data: null
}
`
Can anyone help me?