All of my OpenAPI pages are completely blank
All of my OpenAPI pages are completely blank
In this scenario, it’s likely that either Mintlify cannot find your OpenAPI document,
or your OpenAPI document is invalid.Running 
mint dev locally should reveal some of these issues.To verify your OpenAPI document passes validation:- Visit this validator.
- Switch to the Validate text tab.
- Paste in your OpenAPI document.
- Click Validate it!

One of my OpenAPI pages is completely blank
One of my OpenAPI pages is completely blank
This is usually caused by a misspelled Here’s an example of how things might go wrong:Notice that the path in the
openapi field in the page metadata. Make sure
the HTTP method and path match the HTTP method and path in the OpenAPI document.Mintlify automatically resolves trailing slash differences between your
openapi reference
and the OpenAPI specification. For example, GET /users/{id}/ matches a specification path of /users/{id}.get-user.mdx
openapi.yaml
openapi field says /user/{id} (singular), whereas the path in the OpenAPI
document is /users/{id} (plural).Another common issue is a misspelled filename. If you are specifying a particular OpenAPI document
in the openapi field, ensure the filename is correct. For example, if you have two OpenAPI
documents openapi/v1.json and openapi/v2.json, your metadata might look like this:api-reference/v1/users/get-user.mdx
Requests from the API Playground don't work
Requests from the API Playground don't work
If you have a custom domain configured, this could be an issue with your reverse proxy. By
default, requests made via the API Playground start with a
POST request to the
/_mintlify/api/request path on the docs site. If you configure your reverse proxy to only allow GET
requests, then all of these requests fail. To fix this, configure your reverse proxy to
allow POST requests to the /_mintlify/api/request path.Alternatively, if your reverse proxy prevents you from accepting POST requests, you can configure Mintlify to send requests directly to your backend with the api.playground.proxy setting in the docs.json. See the settings documentation for details. When using this configuration, you must configure CORS on your server since requests come directly from users’ browsers rather than through your proxy.API Playground requests fail with a CORS error
API Playground requests fail with a CORS error
A CORS error occurs when your browser blocks a cross-origin request because the response is missing the required headers. You can identify a CORS error in your browser’s developer console: look for messages like
Access-Control-Allow-Origin missing or blocked by CORS policy.CORS errors only affect requests that go directly from the user’s browser to your API. By default, Mintlify proxies API Playground requests through /_mintlify/api/request, so most sites don’t encounter CORS issues. You typically see CORS errors when:- You’ve set
api.playground.proxytofalsein yourdocs.json, so requests bypass the Mintlify proxy. - You’ve configured a custom
api.playground.proxyURL that points directly to your backend.
Access-Control-Allow-Origin: Your docs site’s origin (for example,https://docs.your-site.com) or*for public APIs.Access-Control-Allow-Methods: The HTTP methods your API supports (for example,GET, POST, PUT, DELETE, OPTIONS).Access-Control-Allow-Headers: The headers your requests send (for example,Content-Type, Authorization).
OPTIONS preflight requests. If you can’t modify your API server, remove the api.playground.proxy setting so requests route through the Mintlify proxy again.