I have issue when i make javascript API POST request. I want to sent data form A application to B application using EVENT button at detail page record.
this is source code:
kintone.api(kintone.api.url(’/k/v1/record’, true), ‘POST’, body, function(resp) {
// success
console.log(resp);
}, function(error) {
// error
console.log(error);
});
It work perfectly if i only sent field outside table(normarly fields, lookup fields) and table without lookup fields inside.
But when i try to sent table with lookup field inside, i always get error:
{“code”:“GAIA_LO03”,“id”:“khYts2IzekEZXJqxu512”,“message”:“Cannot retrieve data from the data source. The key field in the datasource app must be prohibited duplicate values.”}
please show me if you can.
Thank you in advance!