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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
daKmoR opened this issue Aug 27, 2020 · 2 comments
Open

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

daKmoR opened this issue Aug 27, 2020 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@daKmoR
Copy link

daKmoR commented Aug 27, 2020

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)"
@maxime1992 maxime1992 added the help wanted Extra attention is needed label Oct 10, 2020
@maxime1992
Copy link
Owner

Hi @daKmoR I'd definitely be open for some help on that one, feel free to open a PR :)

@maxime1992
Copy link
Owner

Encountered that today. I've raised an issue directly on Forem's repo as for some reason, they return a successful code even though they rejected the post or put: forem/forem#19587. I'll try to display the body that they currently use so it's clearer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants