1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

kintone APIで”日時はISO8601形式の必要があります。”とエラーが出た場合すべき確認項目

Last updated at Posted at 2016-01-09

kintone APIで日付型の項目に値をセットしたらエラー!

日時はISO8601形式の必要があります。

とエラーが表示される。

何の事はない、"2016-1-1"の形式であれば問題ありません。
ちょっと極端な例かもですが、"2016年1月1日"等kintoneが日付と解釈できないような値になっていないか確認してみましょう。。
(というか、自分がハマったのでこの記事を備忘録として書いているわけですが・・・ :astonished:

ちなみに月日を省略した場合はそれぞれ”01”で補完されます。

"2016"→"2016-01-01"
"2016-01"→"2016-01-01"

詳しくはこちら
https://cybozudev.zendesk.com/hc/ja/articles/201941754-REST-API%E3%81%AE%E5%85%B1%E9%80%9A%E4%BB%95%E6%A7%98#step6

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?