Autopost using Freepik AI Images, google drive and Instagram

Hey guys, I had a scenario that was working 100% on Make. Every day, the scenario would fetch health news, generate image prompts, create the image on Freepik, save it to Drive, post the photo + caption created on GPT to Instagram, and delete the image from Drive.

However, since yesterday, I’ve been getting errors: Only photo or video can be accepted as media type. (9004, OAuthException). I’ve added the URLs, checked everything, and the URL is correct. Instagram is refusing to post the image and I don’t know what to do.

I’ve tried using Get File, switching to Dropbox, and absolutely NOTHING works. The Freepik image comes in base64, I convert it to binary when saving to Drive. Any light?

Welcome to the Make community!

I think Google Drive and OneDrive is starting to block Instagram. Try another file hosting service.

Examples of such services include Imgur, Flickr, and Cloudinary.

You can also use Amazon S3, Google Cloud Storage, etc. You can find more file hosting integrations here: https://www.make.com/en/integrations/category/storage.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.