Issue: Assistant Chat Not Working - CORS Error #1799
CreatorEdition
started this conversation in
Bugs & Feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Category
Broken or dead link
Affected Documentation Page URL
https://www.mintlify.com/guides/introduction
https://docs.continue.dev/troubleshooting
Issue Description
Issue: Assistant Chat Not Working - CORS Error
Description
The Assistant chat feature on the troubleshooting page (https://www.mintlify.com/guides/introduction 、https://docs.continue.dev/troubleshooting) is not working. When attempting to send a message, the request fails with a CORS error.
Error Details
`POST https://leaves.mintlify.com/api/assistant/continue-docs/message net::ERR_FAILED
Access to fetch at 'https://leaves.mintlify.com/api/assistant/mintlify-guides/message' from origin 'https://www.mintlify.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Access to fetch at 'https://leaves.mintlify.com/api/assistant/continue-docs/message' from origin 'https://docs.continue.dev/' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Console Stack Trace
fetch @ 79321-beddd799cd952b37.js:3 Y @ 1068-014a5b2dde08ed47.js:10 (anonymous) @ 1068-014a5b2dde08ed47.js:10 (anonymous) @ 1068-014a5b2dde08ed47.js:10 await in (anonymous) S @ 57378-05a4749e48af686b.js:1 onKeyDown @ 57378-05a4749e48af686b.js:1 i4 @ 87c73c54-095cf9a90cf9ee03.js:1 (anonymous) @ 87c73c54-095cf9a90cf9ee03.js:1 nz @ 87c73c54-095cf9a90cf9ee03.js:1 se @ 87c73c54-095cf9a90cf9ee03.js:1 cs @ 87c73c54-095cf9a90cf9ee03.js:1 cu @ 87c73c54-095cf9a90cf9ee03.js:1
Steps to Reproduce
Expected Behavior
The Assistant should receive the message and provide a response.
Actual Behavior
The request fails with a CORS error, and no response is returned.
Environment
Additional Context
This appears to be an issue with the Mintlify documentation platform's Assistant API (leaves.mintlify.com) not properly configured for CORS requests from the docs.continue.dev domain. This may require coordination with Mintlify support or configuration changes on the Continue.dev documentation setup.
Possible Solutions
Expected Content
No response
Beta Was this translation helpful? Give feedback.
All reactions