I have been trying to generate dynamic background using opengraph images in Nextjs via Satori. On production while generating the SVGs it's throwing TypeError: certificate image is not iterable
Expected Behavior
Development
On local development it's generating SVGs fine as below and this is also the expected behavior :
Production
On production instead of the blob SVG it's a blank background with TypeError: certificate image is not iterable :
Bug report
I have been trying to generate dynamic background using opengraph images in Nextjs via
Satori
. On production while generating the SVGs it's throwingTypeError: certificate image is not iterable
Expected Behavior
Development
On local development it's generating SVGs fine as below and this is also the expected behavior :
Production
On production instead of the blob SVG it's a blank background with
TypeError: certificate image is not iterable
:Additional Info
Sharing the gist containing code for better understanding of implementation details. Gist : https://gist.github.com/Abhishek-M-K/c86d23b8efd28777e6aaa35e8d860cf8