When sending parameters to a web server, how do you include piped text from an embedded data object?
Whenever I try to do this (my embedded data is, in this case, a JSON string), I get an error like `Unparsable argument: ${e://Field/jsonObj}`.
A
A
> @JoshuaLandman said:
> Hi @Shashi,
>
> Thanks for your tip! I tried that, and instead of the previous error I mentioned, I got this one instead: `lexical error: invalid char in json text. ${e://Field/jsonObj} (right here) ------^`
>
> Do you have any tips for getting past this one?
Can you please send the screen shot of web service element OR if you are using postman or some other application please send the json objects
> Hi @Shashi,
>
> Thanks for your tip! I tried that, and instead of the previous error I mentioned, I got this one instead: `lexical error: invalid char in json text. ${e://Field/jsonObj} (right here) ------^`
>
> Do you have any tips for getting past this one?
Can you please send the screen shot of web service element OR if you are using postman or some other application please send the json objects
Hi @Shashi,
Thanks for your tip! I tried that, and instead of the previous error I mentioned, I got this one instead: `lexical error: invalid char in json text. ${e://Field/jsonObj} (right here) ------^`
Do you have any tips for getting past this one?
Thanks for your tip! I tried that, and instead of the previous error I mentioned, I got this one instead: `lexical error: invalid char in json text. ${e://Field/jsonObj} (right here) ------^`
Do you have any tips for getting past this one?
!
A
On the client side, I'm using the standard Qualtrics web interface.
It's a custom, unreleased API on the server end. I'm not able to speak about it more at this point. I tested that string locally using that API and it works with the endpoint I'm sending my POST request to.
It's a custom, unreleased API on the server end. I'm not able to speak about it more at this point. I tested that string locally using that API and it works with the endpoint I'm sending my POST request to.
A
> @JoshuaLandman said:
> On the client side, I'm using the standard Qualtrics web interface.
>
> It's a custom, unreleased API on the server end. I'm not able to speak about it more at this point. I tested that string locally using that API and it works with the endpoint I'm sending my POST request to.
Try removing the quotes around the piped text and change JSON to String in the jsonObj row
> On the client side, I'm using the standard Qualtrics web interface.
>
> It's a custom, unreleased API on the server end. I'm not able to speak about it more at this point. I tested that string locally using that API and it works with the endpoint I'm sending my POST request to.
Try removing the quotes around the piped text and change JSON to String in the jsonObj row
I still get this error: `lexical error: invalid char in json text. ${e://Field/catObj} (right here) ------^`
Leave a Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.