# Oembed not working

**URL:** <https://forum.ghost.org/t/oembed-not-working/14676>\
**Category:** Developer help\
**Created:** [May 26, 2020, 2:00pm UTC](https://forum.ghost.org/t/oembed-not-working/14676 "2020-05-26T14:00:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lobo](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/lobo/32/7534_2.png) [@lobo](https://forum.ghost.org/u/lobo)\
**Post date:** [May 26, 2020, 2:00pm UTC](https://forum.ghost.org/t/oembed-not-working/14676/1 "2020-05-26T14:00:32Z")

</div>

I’m writing a post in my site, and when I paste a link, it makes the call to `https://myblog.com/ghost/api/v3/admin/oembed/?url=https%3A%2F%2Fwww.megunolink.com%2Farticles%2Fwireless%2Fhow-do-i-connect-to-a-wireless-network-with-the-esp32`

But I’m getting a validation error:

 ![Screenshot 2020-05-26 at 14.56.39](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/a/aa1931a1d8ceb877817c8f88bafd938aef37bf63.png)

Which is very weird, because I’ve pasted this link in the past in other of my posts and it worked properly.  
The link is: [How do I connect to a wireless network with the ESP32? - Wireless - MegunoLink](https://www.megunolink.com/articles/wireless/how-do-i-connect-to-a-wireless-network-with-the-esp32)

I’ve also checked it to see if that page has the proper tags, and it seems fine: [Iframely URL Debugger - Open Graph, Twitter Cards, oEmbed](http://debug.iframely.com/?uri=https%3A%2F%2Fwww.megunolink.com%2Farticles%2Fwireless%2Fhow-do-i-connect-to-a-wireless-network-with-the-esp32)

I have no idea why this is not working now. I’ve restarted my ghost instance and still nothing.

Any ideas?

Thanks.

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [May 26, 2020, 4:08pm UTC](https://forum.ghost.org/t/oembed-not-working/14676/2 "2020-05-26T16:08:11Z")

</div>

I’m guessing you’re trying to use the bookmark card with this link? Seems like it’s trying to get the metadata of the page but some error on that page is causing it to fail. You can get around this by adding URL as a regular text link 😊

---

<div class="post-metadata">

**Author:** ![lobo](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/lobo/32/7534_2.png) [@lobo](https://forum.ghost.org/u/lobo)\
**Post date:** [May 26, 2020, 5:25pm UTC](https://forum.ghost.org/t/oembed-not-working/14676/3 "2020-05-26T17:25:57Z")

</div>

I was just pasting the URL, and it starts loading and after that it just shows the URL (while I want it to show with “preview”)

Funny enough, I’ve tried with “bookmark” and it actually shows correctly:

 ![Screenshot 2020-05-26 at 18.22.37](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/6/6e837d85eddaf58c4d26fddf718c3f19b34b5260.jpeg)

Interesting…  
I’ve checked the URL being called when adding it as a bookmark and it is:

`https://myblog.com/ghost/api/v3/admin/oembed/?url=https%3A%2F%2Fwww.megunolink.com%2Farticles%2Fwireless%2Fhow-do-i-connect-to-a-wireless-network-with-the-esp32&type=bookmark`

So the only difference is the `type=bookmark` parameter 🤷🏽‍♂️

Do you know why it only works when doing it as a bookmark?? 🤔

Thanks!

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [May 28, 2020, 12:15pm UTC](https://forum.ghost.org/t/oembed-not-working/14676/4 "2020-05-28T12:15:02Z")

</div>

I think the API URL doesn’t matter. I’m guessing this is no longer an issue if you’re able to create a bookmark? 😊

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [May 28, 2020, 12:49pm UTC](https://forum.ghost.org/t/oembed-not-working/14676/5 "2020-05-28T12:49:27Z")

</div>

It’s possible the oembed link that is provided by that site was timing out, it seems like it can be quite slow at times.

Ghost’s oembed endpoint will timeout after 2 seconds when attempting to fetch the oembed content in order to avoid slowing down the editing experience or causing resource contention issues.

---

<div class="post-metadata">

**Author:** ![lobo](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/lobo/32/7534_2.png) [@lobo](https://forum.ghost.org/u/lobo)\
**Post date:** [May 28, 2020, 1:56pm UTC](https://forum.ghost.org/t/oembed-not-working/14676/6 "2020-05-28T13:56:23Z")

</div>

Yes, not an issue anymore for me as I was able to get it with the bookmark option you pointed out.  
I was just worried this was a bug, since it doesn’t work consistently when I just paste the URL.

But yeah, solved for me.

Thanks guys 🙂
