Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AI Content Generator gives error #8332

Open
jessebs opened this issue Jul 17, 2024 · 0 comments
Open

AI Content Generator gives error #8332

jessebs opened this issue Jul 17, 2024 · 0 comments

Comments

@jessebs
Copy link

jessebs commented Jul 17, 2024

Describe the bug
When generating SEO keywords and SEO description from a field in Contentful, I get the error:

"The stream was interrupted. Please try again."

To Reproduce
Steps to reproduce the behavior:

  1. Create a new content item in Contentful
  2. Fill in the content
  3. Click "SEO Keywords"
  4. Fill in (content comes from a populated field, output is an unpopulated field)

Expected behavior
I expect content to be generated

Screenshots
image

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Firefox and Chrome
  • Version Latest

Additional context
The following error is logged in the console

SyntaxError: Unterminated string in JSON at position 37 (line 1 column 38)
    at JSON.parse (<anonymous>)
    at Lt (index-230ca5b3.js:1:5402)
    at Array.reduce (<anonymous>)
    at Se.parseStream (index-230ca5b3.js:1:6453)
    at async T (index-230ca5b3.js:21:6286)
    at async onGenerate (index-230ca5b3.js:21:13803)
T @ index-230ca5b3.js:21
await in T (async)
onGenerate @ index-230ca5b3.js:21
T @ index-230ca5b3.js:21
p @ index-230ca5b3.js:21
p2 @ vendor-a55bbd80.js:44
v2 @ vendor-a55bbd80.js:44
m2 @ vendor-a55bbd80.js:44
qp @ vendor-a55bbd80.js:44
Jm @ vendor-a55bbd80.js:44
(anonymous) @ vendor-a55bbd80.js:44
ld @ vendor-a55bbd80.js:47
Om @ vendor-a55bbd80.js:44
Du @ vendor-a55bbd80.js:44
zf @ vendor-a55bbd80.js:44
x2 @ vendor-a55bbd80.js:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant