satori icon indicating copy to clipboard operation
satori copied to clipboard

SVG not generating on production

Open Abhishek-M-K opened this issue 1 year ago • 1 comments

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 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 :

1

Production

On production instead of the blob SVG it's a blank background with TypeError: certificate image is not iterable :

2

Additional Info

Sharing the gist containing code for better understanding of implementation details. Gist : https://gist.github.com/Abhishek-M-K/c86d23b8efd28777e6aaa35e8d860cf8

Abhishek-M-K avatar May 28 '24 11:05 Abhishek-M-K

If you don’t mind, could you share the production generated SVG file (not the screenshot but the original SVG so we can take a look)? Thanks

shuding avatar Jun 01 '24 01:06 shuding

Closing as there's no repro in a while.

shuding avatar Jun 09 '25 12:06 shuding