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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • 私たちは、日付型のフィールド("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