Email attachments
Hi, I'm trying to trigger an event with a file attached and the API is responding with {"statusCode":413,"message":"request entity too large"}.
The file is small, its 87Kb. And the length of the json data sent is 132933 (len(json.dumps(data)). This is my python code...
Novu v.0.19.0
Is there anything I'm missing?
Thanks..
6 Replies
I think the problem it is not with the API itself, but with the newrelic log.
@jainpawan21 did you encounter this?
I have disabled newrelic log, but still I get error from the API.
Are you sending file as buffer or base64
Thanks for the clue Pawan... I was sending a string of the file buffer decoded with unicode_escape encoding, after changing the encoding to base64, it works fine.