Skip to content

Getting 404 error while generating title #117

@aslamdoctor

Description

@aslamdoctor

Description

Feature to "Re-generate" title is not working. When clicked on the button, it throw below error. It should show the popup suggesting title as shown here

Error: Error generating titles: Not Found (404)

Step-by-step reproduction instructions

  1. Go to Settings > API Credentials

  2. Add Gemini API key & save changes.

  3. Go to Settings > AI Experiments

  4. Check "Experiments" and "Title Generation" checkboxes

  5. Hit "Save Changes"

  6. Now try to click "Re-generate" button on top of the post title and it throws the 404 error.

Screenshots, screen recording, code snippet

Image Image

Environment info

  • WP Version: 6.9-RC3
  • Plugin version: git cloned the latest branch and did all the build steps as mentioned in the dev guide

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except AI Experiments plugin.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

Labels

[Type] BugSomething isn't working

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions