With the following command:
mutation request($boardId:Int! $itemId:Int $columnValues:JSON! $createLabelsIfMissing:Boolean!) { change_multiple_column_values (board_id: $boardId, item_id: $itemId, column_values: $columnValues, create_labels_if_missing: $createLabelsIfMissing) { id }}
-and valid values-
I got the following response:
{“error_code”:“RecordInvalidException”,“status_code”:422,“error_message”:“Validation failed: user cant subscribe to a pulse without being exposed to it”,“error_data”:{“error_data”:“Validation failed: user cant subscribe to a pulse without being exposed to it”}}
In other words, a message about subscribing to a pulse, while the request was to change multiple column values. How do I deal with such error messages?
I recorded the response headers, here is a selection:
| Name | Value |
|---|---|
| Transfer-Encoding | [ “chunked” ] |
| Connection | [ “keep-alive” ] |
| x-request-id | [ “832ffcbd-d134-9f8c-ad90-b86c1ea1cdb1” ] |
| x-runtime | [ “0.222076” ] |
| x-envoy-upstream-service-time | [ “229” ] |
| x-monday-rgn | [ “use1” ] |
| CF-Cache-Status | [ “DYNAMIC” ] |
| cf-request-id | [ “09f8415779000001112b2b2000000001” ] |
| Expect-CT | [ “max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\\”" ] |
| CF-RAY | [ “64d3d19f2d8e0111-AMS” ] |
| Date | [ “Mon, 10 May 2021 14:22:17 GMT” ] |
| Server | [ “cloudflare” ] |
I tried the same request a few minutes later and go no error anymore. But why was this error returned the first time?
Thank for your insights!