r2d2
NNovu
•Created by r2d2 on 3/19/2025 in #💬│support
422 Unprocessable Entity When Sending Attachments via Novu API

20 replies
NNovu
•Created by r2d2 on 3/19/2025 in #💬│support
422 Unprocessable Entity When Sending Attachments via Novu API
@Pawan Jain @Support Hi, is there any progress or solution for my attachment problem?
I have already tried even with the base64 string of my document, calculated separately, and it still throws me an error. I was checking that the errors always fail in step 3, of the connection to the bridge, but already that is going beyond what I understand of how Novu works.
20 replies
NNovu
•Created by r2d2 on 3/19/2025 in #💬│support
422 Unprocessable Entity When Sending Attachments via Novu API
Just now I was checking and the error it gives is from the bridge point, I have it as local studio, could this have something to do with it? Do I need to do something additional?
Another idea, is that the payload has a maximum length and my file is exceeding it?
20 replies
NNovu
•Created by r2d2 on 3/19/2025 in #💬│support
422 Unprocessable Entity When Sending Attachments via Novu API
Yes with this example:
20 replies
NNovu
•Created by r2d2 on 3/19/2025 in #💬│support
422 Unprocessable Entity When Sending Attachments via Novu API
20 replies
NNovu
•Created by r2d2 on 3/19/2025 in #💬│support
422 Unprocessable Entity When Sending Attachments via Novu API
I remove my typing restrictions and tried base64, but had the same 500 error.
20 replies
NNovu
•Created by r2d2 on 3/19/2025 in #💬│support
422 Unprocessable Entity When Sending Attachments via Novu API
I've tried but file type does not allow me to use a string value:
20 replies
NNovu
•Created by r2d2 on 3/19/2025 in #💬│support
422 Unprocessable Entity When Sending Attachments via Novu API
I'm using pdfkit, and this is my code:
20 replies
NNovu
•Created by r2d2 on 3/19/2025 in #💬│support
422 Unprocessable Entity When Sending Attachments via Novu API
This is my code:
The file size range from 200 kB to 300 kB
20 replies
NNovu
•Created by r2d2 on 3/19/2025 in #💬│support
422 Unprocessable Entity When Sending Attachments via Novu API
Thanks, fyi, I tried the docs example (with
base64
image example) and it worked... so I don't know if its a file type or a file size issue.20 replies