code4recovery / pdf

Meeting schedule PDF generation service
https://pdf.code4recovery.org
MIT License
3 stars 2 forks source link

500 internal server error when passing a array of numbers into day attribute #49

Closed dashmurphy closed 11 months ago

dashmurphy commented 1 year ago

I was trying to make this work for the custom meeting finder page on our site nvintergroup.org/meetings/

While testing I kept getting 500 errors and I eventually found that it was caused by trying to pass in an array of numbers into the day attribute. For the Meeting Guide API they accept it in this format, but for this pdf builder it does not. You might want to make that distinction, as well as any other attributes between the APIs that may not line up anymore.

Thanks again for creating this, once I sorted it out it's working great!

joshreisner commented 1 year ago

we should fix it so it supports day as an array - thanks for spotting that!

anchovie91471 commented 11 months ago

Hi @dashmurphy!

I'm the one of the maintainers for PDF. I'm going to explore this and get it fixed. Would you be able to send me a sample of the feed that was throwing the error or a url?

Thank you!

anchovie91471 commented 11 months ago

@dashmurphy We just pushed a fix for this issue to https://pdf.code4recovery.org/