Skip to main content
Question

Instagram for Business error: Could not upload media files. The image format is not supported


I have setup a zapier to post a photo from my dropbox to instagram but for some reason I am getting this message. 

 

Could not upload media file. Only photo or video can be accepted as media type.: Media download has failed: The media could not be fetched from this uri: :insert dropbox direct media file]

It worked the first time but then it stop working. Is anyone having trouble posting on IG for Business via their dropbox media file?

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

14 replies

Userlevel 7
Badge +14

Hi @project100 

Provide more context by posting screenshots with how your Zap steps are outlined and configured in EDIT mode.

Userlevel 7
Badge +6

Hi @project100,

Welcome to the Community! 🎉

You might be using the incorrect data on the “Photo” field of your Instagram step. Could you please share the screenshot of your setup as Troy requested?

I'll be keeping an eye out for your response!

Hi Guys, .

 

Here is a quick vide of my issues

 

Basically the direct media download is not allowed? 

 

I am just trying to figure out how to use the link from dropbox to post to instragram. If there is another way, please help!

 

 

Userlevel 7
Badge +14

@project100 

Check this article:

 

 

Help article about sending files in Zaps: https://help.zapier.com/hc/en-us/articles/8496288813453

Thanks. It's strange because the media file is public downloadable file and I can see it was able to send to slack channel so it's something about posting it to Instagram thar is not allowed or error.

It was allowed the first time I ran a test.

 

Do you know if dropbox can even post media to Instagram? Or should I not be using dropbox?

Userlevel 7
Badge +14

@project100 

Can you post an example of the actual link that you are trying to use?

 

Yes here is a direct media generate zapier via dropbox 

 

https://uc5fa6ea48d860160729be5aa3a8.dl.dropboxusercontent.com/cd/0/get/CUcVzeyclSEjRFS9eggbhg8N2tAEyzYb7UY8EaCP09mXtlxM0LuFITTTAZTgNnI4yWoI0O7Ff2itLU3LYkLw8QtcDFrEzpFofuQint9e_iy3pH78gEVqEUAYrUKgI8JZiB0Z94rCm7gOdzOHYr_tocBFbIuXqeFzELBZHuVbKop0Hg/file

Userlevel 7
Badge +14

@project100

I’m getting an error when using the Publish Photos action

There are 3 requirements for Publish Photos to work properly:

  • You must have a Business Instagram Account. This will not work for a Creator account.
  • The connected Facebook user must also have the Editor" or "Admin" page roles in order to Publish Media.
  • If you do have a Business Instagram Account and your connected user is an Editor or Admin on the Facebook page, make sure that you have provided Zapier with the proper permissions.

let me try

Update

 

My account changed to Business

I am admin on Facebook 

still no luck

I tried to using Zapier trouble shoot and this is what it says:

 

The error you encountered typically occurs when the media file URL provided to the Instagram Business API is either incorrect, inaccessible, or does not point directly to a media file. In your case, the URL seems to be a Zapier hydrate URL, which might not directly link to an image or video file, or the file at that URL is not accessible by the Instagram API.

To resolve this issue, ensure that the photo field in your Zap step contains a direct and publicly accessible URL to an image or video file. You can test the URL by pasting it into a browser to see if the media loads directly. If the URL is not direct or the file is not loading, you may need to adjust the previous steps in your Zap to ensure that a correct media URL is being generated and passed to the Instagram step. If the URL is generated by another app or service, check if there are any settings or permissions that need to be adjusted to allow direct access to the media file. Additionally, ensure that the media type (image or video) is supported by the Instagram API.

 

 

Userlevel 7
Badge +14

@project100 

Did you try this other Dropbox link as indicated in the help article?

https://community.zapier.com/show%2Dtell%2D5/how%2Dto%2Dget%2Da%2Ddropbox%2Dfile%2Ddirect%2Ddownload%2Dlink%2D22085?tid=22085

 

How to get a Dropbox File Direct Download Link

 

To use files in Zap steps a File field will expect a file object or a file url.

 

When using a file url, the file url needs to be publicly accessible and the direct download link to the file.

 

Dropbox Share Links have a designated link structure format that can be adjusted to obtain the direct download link for a file.

 

This is the view link of the file. (ends with dl=0)

https://www.dropbox.com/s/xxx?dl=0

 

You need to use the direct download link of the file. (ends with dl=1)

https://www.dropbox.com/s/xxx?dl=1

 

You can use a Formatter > Text > Replace Zap step to change the end of the Share Link from dl=0 to dl=1.

Hello Troy,

 

I did try this but it’s still the same error. I wonder if it’s related zapier hydrate url. I noticed the final url is updated to zapiers url

 

I will try to see if i can upload the file from dropbox to another site to grab the url but hope someone can find a fix for this.

 

thanks!

Userlevel 7
Badge +14

@project100 

You can try opening a ticket with Zapier Support: https://zapier.com/app/get-help

thanks, I made the ticket!