legacy-knowledge-base
公開されました Jun. 30, 2025

api/jsonwsリクエストでカテゴリを取得し、403ステータスで応答する。

written-by

Jorge García Jiménez

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • api/jsonwsを使用してカテゴリを取得すると、空白のページが表示され、HTTPステータスが403になります。

環境

  • Liferay DXP 7.4

解決

  • コントロールパネル -> システム設定 -> API認証 -> ポータルセッションを開く
  • 空の場合は、新しいエントリーを作成し、"URLs include "の下にこの値を設定する:
    /api/json*,/api/jsonws*,/c/portal/json_service*

 

 

did-this-article-resolve-your-issue

legacy-knowledge-base