docs icon indicating copy to clipboard operation
docs copied to clipboard

Issue: Assistant Chat Not Working - CORS Error

Open CreatorEdition opened this issue 3 weeks ago • 0 comments

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

  1. Navigate to https://www.mintlify.com/guides/introduction or https://docs.continue.dev/troubleshooting
  2. Open the Assistant chat (usually in the bottom right corner)
  3. Type a message and press Enter
  4. The message fails to send and no response is received

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

  • Browser: Chrome/142.0.0.0
  • Operating System: Windows 11
  • Date/Time: 2025-11-16 2:20

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

  1. Check CORS configuration on Mintlify's side
  2. Verify the Mintlify API integration settings in the documentation repository
  3. Contact Mintlify support if this is a third-party service issue`

Expected Content

No response

CreatorEdition avatar Nov 19 '25 22:11 CreatorEdition