Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. HTTP
  3. Guides
  4. Cross-Origin Resource Sharing (CORS)
  5. CORS errors
  6. Reason: expected 'true' in CORS header 'Access-Control-Allow-Credentials'

Reason: expected 'true' in CORS header 'Access-Control-Allow-Credentials'

Reason

Reason: expected 'true' in CORS header 'Access-Control-Allow-Credentials'

What went wrong?

TheCORS request requires that the server permit the use ofcredentials, but the server'sAccess-Control-Allow-Credentialsheader's value isn't set totrue to enable their use.

To fix this problem on the client side, revise the code to not request the use ofcredentials.

To eliminate this error by changing the server's configuration, adjust the server'sconfiguration to set theAccess-Control-Allow-Credentials header's value totrue.

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp