I am trying to configure workflow which calls http patch request. After trigger added a step to read from input params (using Process Requests with JavaScript) but when I am trying to make patch call on the received input params it is giving “No data provided” (means body is sent as empty).
If I replace response[0][“number”] with static number it is working fine. I tried with Any, String and with/without expression options.
Any - with expression - No data provided
Any - without expression - “JSON parse error - Expecting value: line 2 column 13 (char 14)”
We require more information on the request than what has been provided.
Please try setting the variable in an expression and checking the value passed.
Send some more details on the ‘js env configuration’. The use of the variable ‘request’ could be incorrect as this is the default Corteza variable and not the output from a wf step, I believe. Please double-check to see if you are using request as the output from the js process, if you are, please change this and try again with the new variable reference.
If you would also provide the full response this should help.