Embed urls suddenly stopped working

Andrei Leon Salas 0 Reputation points
2026-03-16T15:34:52.0933333+00:00

HI for some reason embed urls stopped working. no changes in url, even created new urls just to test but still it just says (from onedrive) something went wrong

example url

https://1drv.ms/i/c/213fba5c0cb4cd87/IQSbEGyP3xoRSp7ZaQkl5dFJAeXSlnaFKs23obSf4c8FOC8?width=546&height=249

Microsoft 365 and Office | OneDrive | For home | Windows

Answer recommended by moderator
Andrei Leon Salas 0 Reputation points
2026-03-16T15:38:25.0233333+00:00

it was a cookies issue. as soon as i deleted them it started working again

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. AI answer

    2026-03-16T15:35:02.5+00:00

    The OneDrive image URL itself is not enough to keep an existing embed working. If the embedded content suddenly stopped and now shows errors like “something went wrong” or “This item won't load right now,” the most common cause is that the original embed code or sharing state is no longer valid.

    To restore the embed:

    1. Remove the old embed HTML from the website where the image is embedded.
    2. Go to onedrive.com and sign in with the account that owns the file.
    3. In Files view, locate the image that should be embedded.
      • If the file is no longer shared with the account that originally embedded it, it cannot be embedded again until access is restored.
    4. Select the file, choose the </> Embed option.
    5. In the pane that opens, select Generate to create fresh embed HTML.
    6. Copy this new iframe-based embed code and paste it into the website.

    Anyone who visits the page with this new embedded file will be able to view it without signing in, so ensure this is acceptable before re-embedding.

    If the embed is being used inside SharePoint pages instead of an external site, also verify:

    • The embed code is iframe-based (no <script> tags).
    • The URL is HTTPS.
    • The SharePoint admin has not restricted embedding external content.

    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.