I can't open my post pages created with .md files from external links

I am deploying a project (sveltekit) with netlify but when I try to access a url directly from the navigation bar I get a 500 error.

I clarify, this only happens to me with the news that I have uploaded from the CMS. And the news is uploaded in markdown format (.md)

The problem occurs only when I try to open the news directly with the URL. Once inside the website if I click on the news it opens normally.

Do you know why this could be happening?

@mirquezdrm Are you able to provide a link to the site?