Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Swagger error - Failed to load API definition. #11270


User avatar
0
chrskrs created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 10.5
  • What is your product type (Angular or MVC)? MVC
  • What is product framework type (.net framework or .net core)? Net Core

When i try to acces swagger I get the following error:

Fetch error response status is 500/swagger/v1/swagger.json

I have looked at the knowledgebase but the only related answers were logged 3 or more years ago

here: https://support.aspnetzero.com/QA/Questions/6173/Swagger-Failed-to-load-API-definition and here: https://support.aspnetzero.com/QA/Questions/5531/Swagger-UI-Not-Found-swaggerv1swaggerjson

and in anycase my current configuration seems to correspond to the solutions provided.

Can anyone please help me?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @chrskrs

    Coul you open MVC project's Log file and share the related error message ? You can find it under App_Data/Logs folder.