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

我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。

Reason

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

What went wrong?

The CORS request requires that the server permit the use of credentials, but the server's Access-Control-Allow-Credentials header's value isn't set to true to enable their use.

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

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

See also

文件標籤與貢獻者

此頁面的貢獻者: mdnwebdocs-bot, Sheppy
最近更新: mdnwebdocs-bot,