DEV Community

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

Collapse
 
ceceliacreates profile image
Cecelia Martinez

I'm getting an "internal server error" when I try to publish. Any ideas how I could troubleshoot this? I'm not extremely fluent with VS Code extensions yet.

Collapse
 
timdeschryver profile image
Tim Deschryver

This version of the extension, simply calls the dev.to API and shows the response of the API. I will work on this, so these errors will be more readable in one of the upcoming versions.

I think you're getting this error because one of the front matter properties are not filled in - for more info see the api docs and search for front matter.
For now, feel free to DM me your blog post (or a trimmed down version) and I can take a look.

Thread Thread
 
ceceliacreates profile image
Cecelia Martinez

That makes sense! I didn't have the cover image and canonical url filled out. I'll let you know how it goes with my next post, planning on making another by early next week.

Thread Thread
 
timdeschryver profile image
Tim Deschryver

For what its worth, I just tried it with an empty image and canonical and it seems to be working on my end. The only required field (that I know of) is the title