Mayandev/notion-avatar

Internal Server Error when navigating to or using embed link

Opened this issue · 0 comments

jwyce commented

When navigating to the example notion avatar api link Vercel returns a 500 error
image

I forked the repo and locally it sometimes works, but sometimes that api route returns {"status":"error","data":"Node is either not visible or not an HTMLElement"} I think it might have something to do with Vercel caching a bad response or something to do with puppeteer logic, but I'm not totally sure