Odd problem. I have a body that works fine in the Dev tools but not the JS SDK
Dev Tools:
PUT /api/v2/flows/datatables/--MyDataTableGuidGoesHere--/rows/3 HTTP/1.1
{"key":"3","cellphone":"123456789","Name":"Person One","OnCall":true}
But when I use the JS SDK via CDN the same request with the same (even body hard) coded it returns this error
apiInstance.putFlowsDatatableRow(datatableId, 3, body)
- code: "flows.datatables.syntax.error"
- contextId: "60e4924b-155d-415c-8eec-4b100bed0b65"
- message: "the event input has no valid 'item' element."
Even tried to JSON.Springify - but same error
apiInstance.putFlowsDatatableRow(datatableId, rowKey, JSON.stringify(rowData))
- code: "flows.datatables.syntax.error"
- contextId: "ff7d908e-fe35-457a-a888-6aeb0f5eb948"
- message: "the event input has no valid 'item' element."
Beats me - Anyone else hit this before?
#Architect------------------------------
Lloyd Taylor
Solution Architect & Development Lead
------------------------------