boomi - Smartsheet update row getting error "errorCode":1008 - Stack Overflow

I have created an api to update a row with following body :[{"id" : "6052809461698436&q

I have created an api to update a row with following body :

[
  {
    "id" : "6052809461698436",
    "cells" : [
      {
        "columnId" : 7630235649658756,
        "value" : "Pass",
        "displayValue" : "Pass"
      }
    ]
  }
]

The error I am getting is :

{"refId":"b49cae6f-896e-44c1-9ff5-65fbda18f2ab","errorCode":1008,"message":"Unable to parse request."}

My api is .0/sheets/12312332/rows

I did update keys and values but nothing worked

I have created an api to update a row with following body :

[
  {
    "id" : "6052809461698436",
    "cells" : [
      {
        "columnId" : 7630235649658756,
        "value" : "Pass",
        "displayValue" : "Pass"
      }
    ]
  }
]

The error I am getting is :

{"refId":"b49cae6f-896e-44c1-9ff5-65fbda18f2ab","errorCode":1008,"message":"Unable to parse request."}

My api is https://api.smartsheet/2.0/sheets/12312332/rows

I did update keys and values but nothing worked

Share Improve this question edited Nov 19, 2024 at 13:01 mck89 19.3k17 gold badges91 silver badges110 bronze badges asked Nov 19, 2024 at 7:30 Shashank KumarShashank Kumar 1 1
  • Can you add a link to the API specification? The link you provided is the endpoint you are using but what should that endpoint receive? Surely smartsheet has some documentation about its API. – Andreu Gimenez Commented Nov 19, 2024 at 13:30
Add a comment  | 

1 Answer 1

Reset to default 0

Error code 1008 typically indicates a syntax error (typo) within the request body. One thing I notice in your request is that the row ID value is in quotation marks, while the column ID value is not. If Smartsheet is expecting ID values to be specified one way or the other (i.e., either with quotation marks or without) then that inconsistency in your request could result in a 1008 error code.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745578157a4634091.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信