Midjourney

Midjourney Invalid Link Error — How to Fix It

The Midjourney invalid link error appears when you pass an image URL to the /imagine command as a reference and Midjourney cannot access or parse it. This typically happens because the image is hosted on a platform that blocks external bots or does not serve a direct image file. Artists and designers using image references for style or composition guidance are most likely to encounter this issue.

?

Why does this error happen?

Midjourney's bot fetches image URLs at the time your prompt is processed and requires a direct, publicly accessible link that resolves to a raw image file — typically ending in .jpg, .png, .gif, or .webp. Platforms like Google Drive, Dropbox, and many social media sites serve HTML preview pages instead of raw image data, which causes the bot to fail validation and return the invalid link error. Additionally, some hosts require authentication cookies or generate time-limited signed URLs that expire before Midjourney can retrieve them, making those links inherently incompatible regardless of their format.

How to fix it

1

Upload the Image Directly to Discord

The most reliable fix is to upload your image directly into the Discord channel or DM where you use Midjourney. After uploading, right-click the image and select 'Copy Link' to get a Discord CDN URL, then paste that URL into your prompt. Discord CDN links are always publicly accessible and served as direct image files, making them fully compatible with Midjourney.

2

Use a Direct Image URL Ending in .jpg or .png

If you want to use an external URL, ensure it ends with a supported image extension such as .jpg, .jpeg, .png, .gif, or .webp. You can test whether a URL is truly direct by pasting it into a new browser tab — if an image loads immediately with no surrounding webpage, it is a valid direct link. Avoid URLs that contain redirect parameters, query strings, or that lead to a webpage framing the image.

3

Re-Upload Your Image to Imgur for a Stable URL

Imgur is one of the most reliable free image hosts for generating Midjourney-compatible URLs. Visit imgur.com, upload your image, open the image in its own tab, and copy the URL from the browser's address bar — it should end in .jpg or .png. Imgur links are persistent, publicly accessible, and served as direct image files, making them a dependable alternative to cloud storage links.

4

Avoid Google Drive and Dropbox Share Links

Google Drive and Dropbox sharing links point to preview pages rather than raw image data, so Midjourney will always reject them with the invalid link error. If you must use files stored in these services, download the image locally first and then re-upload it directly to Discord or Imgur. There is currently no workaround that makes Google Drive or Dropbox share links compatible with Midjourney's image reference system.

Pro tip

Before submitting a prompt with an image reference, paste the URL directly into your browser's address bar. If the image loads by itself — no webpage, no sidebar, just the raw image — it will work in Midjourney. If you see a page with navigation or a download prompt, the link will fail.

Frequently asked questions

Why does my Imgur link still show an invalid link error?
Make sure you are copying the direct image URL and not the Imgur gallery page URL. The direct link should end in .jpg or .png, such as https://i.imgur.com/abc1234.jpg — the gallery page URL (imgur.com/abc1234) will not work.
Can I use links from my own website as Midjourney image references?
Yes, as long as your website serves the image as a direct file with a public URL ending in a supported extension like .jpg or .png. Make sure the file is not behind a login wall, a CDN that blocks bots, or any form of access restriction.
Does this error occur with /blend as well as /imagine?
The /blend command uses file uploads directly within Discord rather than URL inputs, so it is not affected by the invalid link error. The invalid link error is specific to image URLs passed as references inside /imagine prompts.
Will upgrading my Midjourney plan fix the invalid link error?
No, the invalid link error is not related to your subscription tier — it is caused by the image host being incompatible, not by any plan limitation. Fixing the URL source will resolve the error regardless of your current plan.

Unlock faster generations and priority access with Midjourney Pro

Related Guides