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

Title too long #2

Closed
nikolaos83 opened this issue Feb 12, 2024 · 0 comments · Fixed by #4
Closed

Title too long #2

nikolaos83 opened this issue Feb 12, 2024 · 0 comments · Fixed by #4

Comments

@nikolaos83
Copy link

This is a great application, thanks. There must be a way to tell the AI not to generate excessively long titles though. Or maybe you should include a function to cut them to fit the ghost limit.


Error with Ghost API: Error [ValidationError]: Validation error, cannot save post.
at /root/.nvm/versions/node/v18.19.0/lib/node_modules/ghost-myrtle/node_modules/@tryghost/admin-api/lib/admin-api.js:463:33
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async pushToGhost (file:///root/.nvm/versions/node/v18.19.0/lib/node_modules/ghost-myrtle/create.js:52:9)
at async default (file:///root/.nvm/versions/node/v18.19.0/lib/node_modules/ghost-myrtle/create.js:228:3)
at async createCommand (file:///root/.nvm/versions/node/v18.19.0/lib/node_modules/ghost-myrtle/index.js:25:5) {
context: 'Value in [posts.title] exceeds maximum length of 255 characters. posts.title',
type: 'ValidationError',
details: null,
property: null,
help: null,
code: null,
id: 'c55bf753dc5a',
ghostErrorCode: null
}

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

Successfully merging a pull request may close this issue.

1 participant