Please help me!
It takes two days for me. So I would like to ask for your help.
In my app on Kintone, I have only required field as below.
In postman
Header
Content-Type application/json
X-Cybozu-API-Token b7EMUSEfcDCbb0xxxxxxxxxxxxxxxxxx
Request body with json format
{
"app":xxx,
"record": {
"名": {
"value": "三宅"
}
}
}
I got error as below.
{
"code": "CB_VA01",
"id": "1RY4iPgdkvHACFShdidq",
"message": "入力内容が正しくありません。",
"errors": {
"record.名.value": {
"messages": [
"必須です。"
]
}
}
}
What is the problem and how can I solve it. Please help me!
#Kintone #Add Record api call error
First of all, I built a test app and used the script you provided, but it worked fine.
And then I tried to mess with the settings and code to recreate the same error, but the only way I was able to recreate it was by making the value empty as follows:
{
"app":XXX,
"record": {
"名": {
"value": ""
}
}
}
The error is basically saying the field is a required field, so I'm assuming the value isn't properly set. Could you check your settings (such as headers) and see if you are doing it correctly?
Thank you