I’m trying to figure out how I can upload an image to Pinterest using the HTTP module. I’m having a hard time figuring out how this is supposed to be set up. The errors codes I’m getting are going a little over my head so I would appreciate someone breaking this down for me. First I have DALL-E creating an image for me.
Then, the HTTP module grabs the link. To my understanding (and I might be wrong on this, I’m no expert) this module is supposed to grab an image file that can be saved and uploaded to a social media platform. Here is how I have the HTTP module set up:
and then, this is what the output looks like for the HTTP module:
Finally, I’m trying to get Pinterest to grab the image from HTTP as well as the title and description from previous modules, so they may be uploaded to Pinterest. I don’t think I’m setting this up correct and the errors codes I’m getting are too technical for me to understand. Here is how the Pinterest module is set up:
And then, this is what the Pinterest error looks like when I try to run my scenario:
Thank you in advanced for your help!
1 Like
Hey Daniela,
one of the items is too long. Pinterest has a limit on how long strings can be, you can find them in the documentation here. Make sure the title, description, alt-description etc. are not too long and fall under the limits.
Thanks @Stoyan_Vatov ! I’ve fixed the title, description, and links to ensure they don’t pass the character limit for Pinterest. The part I’m getting stuck on now is the image. Pinterest keeps grabbing the image data instead of the actual image, at least I think it’s doing that. Do you by chance know how I can fix that?
1 Like
Hi @Daniela_Dejeu
In earlier images, we see that image type you selected is jpeg, however, from http module you are getting png image. Next is for the link seems downloadable link. That field should accept web url. Please check for this or share the screenshot of new error you are getting to better assist you.
Regards,
Msquare Automation - Gold Partner of Make
@Msquare_Automation
1 Like
Thanks @Msquare_Automation - that’s helpful to know! I’m still getting the 400 error code. I made the switch to ensure the Pinterest module is set up for png images and I changed the “source type” to ‘image base64’. Hopefully that was a good change - can you provide clarification on how I can set the Pinterest module up to accept web url’s like you mentioned?
Sorry for all the questions - these sets up are very new to me. I provided new screenshots for clarity. On one of the images I put a blue box around the piece of data that is insanely long; it looks like it’s pulling data from the image rather using the image itself. I’m not really sure. Let me know if I should provide any other information or screenshots as I’m kind of stuck on what I should do right now.
@Msquare_Automation @MusadhiqMsquare @Stoyan_Vatov Just following up on this again, are either of you still available to help resolve this? Thank you for you time!
Hey Daniela,
it should work both ways.
You can change the source type to Image URL and pass it the URL directly.
Can you copy paste the entire error message you are getting so we can see what the issue is?