user-1
(User 1)
February 14, 2024, 4:50pm
21
I can start a new thread, if appropraite, is there an list of errors for inbound webhooks on Pipedream?
I’m seeing this in the Postmark log for a message I’ve sent in to Postmark that is then trying to trigger the Pipedream webhook:
Inbound hook received HTTP 413 from https://OMMITTED.m.pipedream.net
I have some messages get through, one so far in my test that is stuck. So I’m curious what 413 means from Pipedream
user-1
(User 1)
February 14, 2024, 4:50pm
22
I believe that’s due to the body size of the payload exceeding 512KB:
user-1
(User 1)
February 14, 2024, 4:50pm
23
But you can workaround this restriction by adding a query param pipedream_upload_body=1
user-1
(User 1)
February 14, 2024, 4:50pm
25
wow - that was quick for you to pull up. Didn’t happen when googling. Thank you.
user-1
(User 1)
February 14, 2024, 4:50pm
27
Haha thank you. I help write the docs, so I know them pretty well
user-1
(User 1)
February 14, 2024, 4:50pm
28
The error makes sense, the email message sent to Postmark had an attached PDF.
user-1
(User 1)
February 14, 2024, 4:50pm
29
Gotcha, then during the Postmark webhook registration, the URL will need that query param added.
Or if Postmark’s UI / API allows modifications to existing webhooks then you can add that parameter there
user-1
(User 1)
February 14, 2024, 4:50pm
30
Well done on pointing me in the right direction. I’ll chase it down.
user-1
(User 1)
February 14, 2024, 4:50pm
31
see how I can modify or register with the query parameter. I may have to do a manual set up of a web hook instead of the Postmark Inbound Trigger
user-1
(User 1)
February 14, 2024, 4:50pm
32
Looks easy, easy to change the webhook in Postmark. Just waiting for retry from Postmark before confirming all is good
user-1
(User 1)
February 14, 2024, 4:50pm
33
Works. Though the retry failed as I think Postmark have cached the webhook url. a new email sent with an attachment and the query param has made it to Pipedream and I can now work on processing the message.
Thank you for being available and guiding
user-1
(User 1)
February 14, 2024, 4:50pm
34
Awesome, glad to hear that.
Another tip, you can easily send these payloads to File Stores for easier inspecting.
/tmp
is an option too, but you won’t have the persisted file to inspect after the workflow finishes executing.
user-1
(User 1)
February 14, 2024, 4:50pm
35
Good to know this distinction. I’ll keep this in mind.
user-1
(User 1)
February 14, 2024, 4:50pm
36
Sure thing - best of luck