Hi, I’m a complete beginner and i probably want to do something simple but I can’t figure it out:
I have an array that outputs the values below. Instead of “data” I need it to say “id” for the key value. That’s it…I think.
The longer story is that I’m trying to do a multi-image post on LinkedIn. I got my pictures registered and uploaded, and with the array aggregator I want to send them to an HTTP OAuth.2 request to be posted. I’m not completely sure if this array will do as the values seem to be embedded in collections. Any insight into this would also be appreciated.
Currently the final Post HTTP gives me the following error:
{“status”:400,“code”:“ILLEGAL_ARGUMENT”,“message”:“Request body could not be converted to data map”}
Below are screenshots of the whole chain, and the way I filled in the module fields.
Hi, Thank you. I tried the Set Variable Module AND the JSON module, but I could not fully get the right results. Would you mind adding a little detail on how to do that?
When I tried following instructions from ChatGPT or from the internal Make.com AI, I still got the same error.
I tried this indeed, but somehow it comes out deeply embedded and I fail (as a complete beginner) to get it out. I used the JSON aggregator, set the name to id, and have the value to the value I want it to give, but it gives me the result as in the screenshot. I think LinkedIn needs a clean list without all the brackets to accept it for the multipost.
Sorry if my question is silly. I thought I was embarking on something that was simple by now but got stuck on this last step. Any help would be greatly appreciated.
From this image, I deduce that you are mapping the whole module output (incorrect) instead of the JSON variable.
If you need further assistance, please provide the following:
screenshot of HTTP module
Hope this helps! Let me know if there are any further questions or issues. P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!
Hi Sam, thank you. I tried that as well before I tried the other way with the full module output. It is still embedded in the “images” collection (I don’t know where this name comes from).
It still gives the same 400 error. Your insight and help are very much appreciated
That was a leftover from a previous attempt, I see now, but also how the official Microsoft learning documents say it should be accepted.
I also tried to remove it and yet…it doesn’t seem to accept it either.