Dropbox photo url and map to Photo URL - instagram

Hi everyone, I’m new to this and could really use your help.
I’m working with a Dropbox module that generates a photo URL, which I then use in an Instagram module. However, I keep getting errors related to the photo not being accepted.

Here’s what I currently have:

  • Dropbox API call:
    Endpoint: /2/sharing/create_shared_link_with_settings
    Body: {“path”: “{{5.path_lower}}”, “settings”: {“requested_visibility”: “public”}}

  • Instagram photo URL:

    {{replace(replace(6.body.url; “dl=0”; “raw=1”); “dl=1”; “raw=1”)}}

The output is an img_url that works fine when opened in a browser (e.g.,
“image_url”: “Dropbox - File Deleted - Simplify your life”, but Instagram keeps rejecting it.

Does anyone know how to correctly configure the Dropbox URL so that Instagram accepts the image? Any tips or examples would be greatly appreciated!

1 Like

Hello @Ciprian_Stangu Welcome to the community.

Instagram needs publicly accessible media URL or direct download links except one drive, dropbox and google drive, they work sometimes but not reliable. You can try using cloud media hosting services like Cloudinary or more for such use case or try using files stored in records of Airtable or similar tools as they al so gives public media download links.

I hope this helps and Let me know if you need more help!

Best,
@Prem_Patel

Thank you, I put Cloudinary sometimes works, but I still have Media ID is not available (9007,

1 Like

It’s true that sometimes this action returns that error. But you can add retry or break error handler on instagram module.

You can read more about that here: Overview of error handling - Help Center

Best,
@Prem_Patel