API References
Troubleshooting
Getting Started
Writing Content
API References
- Interactive Playground
- Using OpenAPI
- Using MDX
- Troubleshooting
Configurations
Advanced
- Custom Scripts
- Custom Subpaths
- Extensions
- REST API
- User Auth
- Single Sign-On (SSO)
API References
Troubleshooting
Common issues with API References
Here are common issues and solutions for API References:
Likely causes: Mintlify can’t find your OpenAPI document or it’s invalid.
To verify:
- Run
mintlify dev
locally - Validate your OpenAPI document at apitools.dev/swagger-parser/online
- Ensure you’re not using OpenAPI 2.0 (use editor.swagger.io to convert to OpenAPI 3)
Common causes:
- Mismatched paths in metadata and OpenAPI document (check for exact matches, including slashes)
- Incorrect OpenAPI document filename reference
Example:
---
openapi: "GET /users/{id}/" # Path must exactly match OpenAPI document
---
Solutions:
- If using custom domain: Configure reverse proxy to allow POST requests to
/api/request
- Alternative: Set
api.playground.disableProxy
inmint.json
to send requests directly (requires CORS configuration)
Was this page helpful?