- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2020
04:30 AM
07-28-2020
04:30 AM
Swagger broken after upgrade to 2.3.5. Get Failed to load API definition.
Hi,
We have just upgraded from Magento 2.3 CE to 2.3.5 and we are unable to get the default services from swagger, it returns
Get Failed to load API definition.
Internal Server Error http://{domain}/rest/all/schema?services=all
The link it provided https://validator.swagger.io/validator/debug?url=http://{domain}/rest/all/schema?services=all
Result:-
{"schemaValidationMessages":[{"level":"error","message":"Can't read from file http://{domain}/rest/all/schema?services=all"}]}
Replaced our domain in the results above with {domain} for security
Bit of a newbie on this, any idea on how to debug or what log files to look at?
Thanks
Andrew
Labels:
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2020
04:06 AM
10-13-2020
04:06 AM
Re: Swagger broken after upgrade to 2.3.5. Get Failed to load API definition.
Any luck in resolving this error. I am getting same error.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2020
08:48 AM
12-12-2020
08:48 AM
Re: Swagger broken after upgrade to 2.3.5. Get Failed to load API definition.
Just you need to disable some of the vendor Bundle modules only.
php bin/magento module:disable --clear-static-content Dotdigitalgroup_Email Dotdigitalgroup_Chat
Then upgrade hole site once and it will work perfectly.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2021
10:11 AM
04-22-2021
10:11 AM
Re: Swagger broken after upgrade to 2.3.5. Get Failed to load API definition.
Yes i got the resolved the issue ..