LinkedIn Error: You passed {raw: true} in request() - the response.content property is not available! Try response.body.pipe() for streaming, response.buffer() for a buffer, or response.text() for string.
Hello @ken.a,
Just to let you know that i tried to add a picture URL to a LinkedIn post today and got this error :
You passed {raw: true} in request() - the response.content property is not available! Try response.body.pipe() for streaming, response.buffer() for a buffer, or response.text() for string.
Page 1 / 1
Hi there @JacksonAndKent,
Before we dig deeper into this, would you mind sharing a detailed screenshot of how your Zap is configured? Especially, the “Action” section showing all of the fields in the LinkedIn step. Here’s the screenshot of what I’m after:
Thanks for sharing that helpful screenshot here. It looks like the Zap is having some trouble accessing the image file. Is it this image specifically that’s erroring or does it also error when you try using other images instead?
It looks like the link is publicly-accessible so I’m thinking it could be something else that’s causing the error. I spotted that the Content - Description field is blank, so I’m wondering if perhaps that field might need to be filled out when the Content - Image URL field has a value. I’ve seen similar issues occur with other apps so I’m wondering if that might be the cause here.
It’s a bit of a long shot, but could you try adding a value into that Content - Description field to see if it then allows the image to be posted without error?
Looking forward to hearing how that goes!
Thanks @SamB for your answer.
The Content - Description field had nothing to do with it.
But, as you suggested, i tried with an other image and it works :
I’m glad to know that you have found the culprit of the issue. Using the hosting provider that works should be the fix here. Have you tested this out thoroughly? Please let us know if the issue still persists after using a different hosting provider.
Thanks!
Thanks @SamB for your answer.
The Content - Description field had nothing to do with it.
But, as you suggested, i tried with an other image and it works :
I tried with resized version (600px wide instead of 1200px, 100px high instead of ~300) and with a .jpg version. I don’t get it.
I have checked the media URL returned by Instagram, it seems that the URL includes a timestamp. so, the link might expired. when it has expired the action has failed.
I checked the URL and it returned an error of“URL signature expired” . That said, if the issue is within the editor, you will need to pull in a fresh data sample, as it is likely that when testing the Instagram step, the Zap is still using the old sample data selected, which now has expired links.