11-03-2023 12:26 PM
Hello everyone,
I'm having this weird issue where I use a JSON generator to create a payload for the following HTTP client snap, but apparently all the values resulting are NULL, which is weird because the output of the JSON looks fine.
This is what I use in the JSON generator:
And the output looks just fine:
However, in the following HTTP client snap, the output preview gives an error because apparently the value is null.
Can someone help me find out what I did wrong?
Thanks in advance!
JF
11-04-2023 05:28 PM
Hi @jfpelletier ,
I don't know if this applies to the issue that you are having where there's no valid key name to the form where you are setting the name value
EmEm
11-06-2023 12:44 AM
Why you didn't use the Mapper snap for building the JSON?
11-06-2023 07:12 AM
Hello @SpiroTaleski,
Thanks for your comment. Actually, I already tried using a mapper right after the JSON generator, and the mapper has no issue seeing the values and doing the mapping:
Still, the following HTTP Client snap says that the values are null...
Could this be related to what @alchemiz reported last Saturday?
Thanks!
JF
11-06-2023 07:28 AM
Are you trying to send above fields in the body of the API request?
Can you please share the HTTP Client Snap configuration?