Skip to content

AI Content Generator gives error #8332

@jessebs

Description

@jessebs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions