Hello!
We're trying to send the bool value of True to a checkbox column within Smartsheet called At Risk. According to the Smartsheet API doc, https://smartsheet-platform.github.io/api-docs/#cell-reference, the checkbox cell type should accept either a boolean or a string:
CHECKBOX | Boolean: true if the checkbox is checked, false if unchecked, no value if the cell hasn't been touched yet. string: a free-form text value. |
We're sending the following:
{ "At Risk": "true", "Task Name": "test email", "Status": "Not Started", "Assigned To": "jmather@healthylife.com", "Start Date": "2019-04-03T18:26:50Z", "% Complete": "0%" }
And it returns the following error:
{ "errorCode": 1042, "message": "The value for cell in column 6111850942228356, true, did not conform to the strict requirements for type CHECKBOX.", "refId": "zxpu9w39e20d", "detail": { "index": 0 } }
Anyone have any ideas?
Thank you!
Solved! Go to Solution.
Hi @jmatherAIPM ,
I have made some tests on my side, it has the same issue with you.
From the API document, it says we can set the checkbox value to 'true' or 'false'.
I was also confused about that.
I have made a test to return the checkbox value, it was shown as value to 'true' or 'false'.
Perhaps the checkbox value can't be set via flow, you can only click it in the Smartsheet.
Best Regards,
Community Support Team _ Zhongys
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
@v-zhos-msft Thank you very much for checking it out 🙂
Workaround: We ended up using a dropdown/picklist column instead of a checkbox column and that worked great.
Hi @jmatherAIPM ,
I have made some tests on my side, it has the same issue with you.
From the API document, it says we can set the checkbox value to 'true' or 'false'.
I was also confused about that.
I have made a test to return the checkbox value, it was shown as value to 'true' or 'false'.
Perhaps the checkbox value can't be set via flow, you can only click it in the Smartsheet.
Best Regards,
Community Support Team _ Zhongys
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
@v-zhos-msft Thank you very much for checking it out 🙂
Workaround: We ended up using a dropdown/picklist column instead of a checkbox column and that worked great.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
45 | |
41 | |
36 | |
36 | |
22 |
User | Count |
---|---|
40 | |
36 | |
28 | |
27 | |
27 |