Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, I am using tRest component to fire a post api. The job is executing successfully when I pass the api in HTTP Body. But when the exact api is passed from a context variable, it is giving me an error -> Error 411 (Length Required)!!1
Passing the same api through context variable
Content of context variable
Error in run time
Hi
For debugging, print the value of context value before it is used to check if it has the same value as you input in the body.
Regards
Shong
Hi, maybe you can try to send the context var in a globalVar, then you use the globalVar instead of context var in the component.
Send me love and kudos
@guenneguez jeremy @Shicong Hong I stored the context var in a globalvar and printed it. It is exactly what I am passing in http_body. I am not getting the same error anymore. Instead getting {"overall":{"DeserializationError":"invalid character '\\n' in string literal"},"fields":{"pipeline":"Required"}}
Any pointers to this? Or should I create seperate thread for this as its different error