Skip to content

Error message if dev.to refuses is missing reason #27

@daKmoR

Description

@daKmoR

I had a "bad" cover_image: foo.jpg and dev.to won't let you update your content with a "bad" cover_image so I got an error...

but the error was not very helpful 😅
only after deleting all the content and each front matter entry line by line did I found out what the issue was 😅

can we improve the error message? 🙏

[DRAFT] Article "Introducing: Modern Web" encountered an error:
Error name: "HTTPError"
Error message: "Response code 422 (Unprocessable Entity)"
Error stack: "HTTPError: Response code 422 (Unprocessable Entity)
    at EventEmitter.<anonymous> (/html/web/node_modules/dev-to-git/bin/dev-to-git.umd.js:7080:23)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions