# Link Preview plugin error

**URL:** <https://forum.bubble.io/t/link-preview-plugin-error/92131>\
**Category:** Plugins\
**Created:** [May 16, 2020, 7:29pm UTC](https://forum.bubble.io/t/link-preview-plugin-error/92131 "2020-05-16T19:29:20Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![harshala](https://avatars.discourse-cdn.com/v4/letter/h/dfb087/32.png) [@harshala](https://forum.bubble.io/u/harshala)\
**Post date:** [May 16, 2020, 7:29pm UTC](https://forum.bubble.io/t/link-preview-plugin-error/92131/1 "2020-05-16T19:29:20Z")

</div>

Hi,

I am using ‘search box’ to take the input of the URL. When the URL isn’t already present in the database, I have provided an ‘add’ option to save the URL.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/d/7/d7090dac4609187eb48a15068dd510855ab6fffd.png)

When I click the ‘Add’ button - the plugin ‘link preview’ is showing me this error. Does anyone know what it is?

@romanmg

![image](https://us1.discourse-cdn.com/bubble/original/3X/1/5/1518783e7739c9311d4f17795039110bdefc94c6.png)

---

<div class="post-metadata">

**Author:** ![romanmg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/romanmg/32/237672_2.png) [@romanmg](https://forum.bubble.io/u/romanmg)\
**Post date:** [May 18, 2020, 7:00pm UTC](https://forum.bubble.io/t/link-preview-plugin-error/92131/2 "2020-05-18T19:00:08Z")

</div>

Hi @harshala,

According to the documentation of the service that powers this plugin ([https://www.linkpreview.net/docs/](https://www.linkpreview.net/docs/)), a 425 error is “Invalid response status code (actual response code from the remote server)”

I know that doesn’t help with an actual solution, but have you confirmed that you’ve set up your “search box” element properly? It should “allow entries not in list” so that you can pass the search box’s “Typed Text” to the plugin action.

Have you tried testing the plugin with a URL typed directly into the plugin action? And also using a regular input? Try setting it up simply first to verify where the error might be occurring. It’s possible that no value is actually being passed to the plugin (you can also verify this with the debugger).

Hope this helps!

Cheers,  
Gaby

Coaching No Code Apps  
[Join our Facebook group](https://www.facebook.com/groups/1165236046981865/) for insider access to no-code development  
Get professional [development services](https://coachingnocodeapps.com/services)  
Enroll in expert-led [courses and products](https://coachingnocodeapps.com/resources)

---

<div class="post-metadata">

**Author:** ![harshala](https://avatars.discourse-cdn.com/v4/letter/h/dfb087/32.png) [@harshala](https://forum.bubble.io/u/harshala)\
**Post date:** [May 18, 2020, 8:51pm UTC](https://forum.bubble.io/t/link-preview-plugin-error/92131/3 "2020-05-18T20:51:37Z")

</div>

Hey,

thank you so much for getting back @romanmg

Yes, I have set up ‘allowing entries not in list’ :

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/c/3/c3ca8bcd4ae05cf8f491a933378a985e043d5901.png)

So, it was working all fine before. Started showing since last 4 days.

It doesn’t work even if the URL is already in the database. So whether I add an existing URL or a new one, it’s not working.

It is working fine with other input types though. As I am using this plugin in other parts of the web app as well.

---

<div class="post-metadata">

**Author:** ![remty1](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@remty1](https://forum.bubble.io/u/remty1)\
**Post date:** [June 15, 2020, 8:31pm UTC](https://forum.bubble.io/t/link-preview-plugin-error/92131/4 "2020-06-15T20:31:44Z")

</div>

Hi

@harshala did you manage to fix this? I am getting the same error.

@romanmg thank you so much for this plugin, its fantastic. I also get this error when I use the example app ([https://forumapp3.bubbleapps.io/version-test/link\_previews](https://forumapp3.bubbleapps.io/version-test/link_previews)). Any ideas?

Thanks.

---

<div class="post-metadata">

**Author:** ![harshala](https://avatars.discourse-cdn.com/v4/letter/h/dfb087/32.png) [@harshala](https://forum.bubble.io/u/harshala)\
**Post date:** [June 16, 2020, 9:23am UTC](https://forum.bubble.io/t/link-preview-plugin-error/92131/5 "2020-06-16T09:23:36Z")

</div>

Yes, I was using ‘searchbox’ before. Now I am using normal input and using a repeating group to show the results of the input searched for.

It’s not working otherwise for me.

---

<div class="post-metadata">

**Author:** ![romanmg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/romanmg/32/237672_2.png) [@romanmg](https://forum.bubble.io/u/romanmg)\
**Post date:** [June 16, 2020, 4:23pm UTC](https://forum.bubble.io/t/link-preview-plugin-error/92131/6 "2020-06-16T16:23:54Z")

</div>

Hi @remty1, it’s very possible that the URL you’re using doesn’t contain metadata to show preview information. The plugin is powered by this service: [https://www.linkpreview.net/](https://www.linkpreview.net/)

You can get your own API key and try integrating on your own to see if you get a different result. If you’re also getting an error there, then there’s not much I’ll be able to do unfortunately.

I am seeing popular sites load a preview properly, which is why I think it might be the specific URL you’re entering doesn’t have all the data.

---

<div class="post-metadata">

**Author:** ![harshala](https://avatars.discourse-cdn.com/v4/letter/h/dfb087/32.png) [@harshala](https://forum.bubble.io/u/harshala)\
**Post date:** [June 17, 2020, 7:25pm UTC](https://forum.bubble.io/t/link-preview-plugin-error/92131/7 "2020-06-17T19:25:38Z")

</div>

Hey @romanmg ,

there is a weird issue I came across.

I am using this editor in the sample of link preview to test the link:

> **[Bubble - Visual Programming](https://forumapp3.bubbleapps.io/version-test/link_previews)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

When I post this particular link, it doesn’t render.

Link: [The Greatest Commencement Speeches, in Book Form | The New York Public Library](https://www.nypl.org/blog/2020/05/14/college-commencement-speeches)

But it’s working for other links. It’s only this particular link.

Can you tell me the reason why?

It doesn’t show anything in the preview sample.

When I used in my app, it shows this error:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/7/5/75b97707ea707e6ef2b6c3f0b64a14f12dffb902.jpeg)

---

<div class="post-metadata">

**Author:** ![vovahumnytskiy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/vovahumnytskiy/32/235953_2.png) [@vovahumnytskiy](https://forum.bubble.io/u/vovahumnytskiy)\
**Post date:** [August 26, 2020, 8:14pm UTC](https://forum.bubble.io/t/link-preview-plugin-error/92131/8 "2020-08-26T20:14:03Z")

</div>

> [@romanmg](#):
>
> doesn’t contain metadata to show preview information.

How to define it in conditions? ‘Link Preview’ image is empty’ is blank.

---

<div class="post-metadata">

**Author:** ![JayM](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@JayM](https://forum.bubble.io/u/JayM)\
**Post date:** [April 5, 2021, 3:27pm UTC](https://forum.bubble.io/t/link-preview-plugin-error/92131/9 "2021-04-05T15:27:09Z")

</div>

Hey Gaby,

What if I know for sure the URL is faulty but what I am trying to do is set up some user-friendly error handling?

So I have a field for a user to enter a URL, and it will show a preview of the link’s title and image. But if they enter a bad URL, or just type gibberish in there, since bubble doesn’t have a URL field type or url validator, and as far as I can tell no plugin for this either, I would like to “intercept” the error on the backend through a workflow condition or anything else, and show a normal error to the user like “this does not appear to be a valid URL” instead of that browser popup that will confuse them.

I have tried to use some conditions in the workflow of “if link preview’s url/title is not empty” but nothing worked, I still see the popup error on the front end.

There must be a way for me to do proper error handling no? If not, do you know of any decent way to validate the URL before I call the preview link action? (other than pure regex, aka pure headache)

Thanks

---

<div class="post-metadata">

**Author:** ![middletechpodcast](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@middletechpodcast](https://forum.bubble.io/u/middletechpodcast)\
**Post date:** [April 28, 2021, 2:25am UTC](https://forum.bubble.io/t/link-preview-plugin-error/92131/10 "2021-04-28T02:25:11Z")

</div>

I’m running into the same error with linkedin, which is an odd platform to run into. FB works fine, but just letting you know @romanmg there may be something available to fix. Thanks!

---

<div class="post-metadata">

**Author:** ![lindsay\_knowcode](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/lindsay_knowcode/32/92967_2.png) [@lindsay\_knowcode](https://forum.bubble.io/u/lindsay_knowcode)\
**Post date:** [April 28, 2021, 3:38am UTC](https://forum.bubble.io/t/link-preview-plugin-error/92131/11 "2021-04-28T03:38:20Z")

</div>

I made a plugin to solve exactly this problem. “Broken Link Checker” (Shameless self-promotion 🙂  
It doesn’t use a 3rd party service, it tests URL’s from Bubble itself. Might fit your use case, might not.

> **[Broken Link Checker Plugin for Bubble, by Knowcode](https://bubble.io/plugin/broken-link-checker-1618970342021x217683054542979070)**
>
> Broken Link Checker Plugin page on Bubble, by Knowcode. Add Broken Link Checker in one click to your app. Bubble lets you build web apps without any code.

---

<div class="post-metadata">

**Author:** ![olowusamson](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/olowusamson/32/80978_2.png) [@olowusamson](https://forum.bubble.io/u/olowusamson)\
**Post date:** [September 9, 2021, 10:22pm UTC](https://forum.bubble.io/t/link-preview-plugin-error/92131/12 "2021-09-09T22:22:09Z")

</div>

i dont think [linkpreview.net](http://linkpreview.net) works for [trustpilot.com](http://trustpilot.com). can someone help check?
