DEV Community

Discussion on: Writing a dev.to blog post with VSCode

Collapse
 
cbrintnall profile image
Christian Brintnall • Edited

Could still benefit from a proper status code, in this case it sounds like you were missing information, so maybe a 400 is appropriate?

Thread Thread
 
sleeplessbyte profile image
Derk-Jan Karrenbeld

422 would probably be more appropriate, but yes, a 4xx status is the way to go.

Thread Thread
 
timdeschryver profile image
Tim Deschryver

Yes, I think having a 4xx would make these "errors" more understandable for us.