#isaacJulien - download pdf

1 messages · Page 1 of 1 (latest)

proper breach
#

Hello. Give me a moment to catch up here and i'll look into this

tired ridge
#

tyty

proper breach
#

Can you share a sample invoice.updated event for me that you're looking at?

#

Just the event ID

tired ridge
#

yes

#

evt_1KYuULGAanIuYctcw65ZCSJT

#

the event is fine, the invoice_pdf variable is filled

#

when i copy paste that on my browser i download it

#

but the thing is with axios i get an HPE_HEADER_OVERFLOW error which is super annoying haha

proper breach
#

I'm not familiar with Axios actually

tired ridge
proper breach
#

Is that a Node library?

tired ridge
#

yes

proper breach
#

Hm yeah I'm not sure about that library error. I would either look into that library's documentation about this error, reach out to its developer, or try downloading the pdf with a different library

tired ridge
#

so weird tbh i tried with another PDF url and it works fine

#

just fails with stripe ones for some reaosn

#

a GET request on invoice_pdf should work tho right

proper breach
#

Yeah I would try another library

little hingeBOT
#

This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact

proper breach