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

JSON APIからpostStructuredContentFolderStructuredContentメソッドを使用したISO-8601エラー

written-by

Daniel Mijarra

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

問題

  • 私たちは、日付型のフィールド("dataType"=date)を持つウェブコンテンツ構造を持っています。
  • この構造体を使用して、postStructuredContentFolderStructuredContentメソッド(JSON API から)で Web コンテンツを作成しようとすると、コンテンツが作成されず、エラーが発生します:ISO-8601 に準拠していない日付を で解析できません

環境

  • 2024.q1

解像度

  • 日付の設定に使用されている書式が以下のものと一致しているかどうかを確認します:YYYY-MM-DDT00:00:00Z.
  • 時刻を表示せず、日付のみを表示する必要がある場合は、時間を00:00:00と表示する。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base