Bookmark parsing issues

Hi Everyone,

I am having issues trying to add the bookmark to my post with my link but for whatever I keen getting this parsing error.

really confused here with how we can get this working

@henry88lay which version of Node.js are you using?

Node 8.x is end-of-life since end of 2019 and is not supported by Ghost since 3.9.0. The embed/bookmark feature is just one of the things that may not work correctly if you’re still using Node 8.x.

1 Like

Hey Kevin, just to provide some more info around Henry’s post (I work on his team).

We are on Node version 12.16.1

This error occurs specifically when we paste this link into the bookmarking feature:
https://thelabbook.ghost.io/what-is-agile/

(also any others from our site).

External sites (e.g. articles on medium work fine)

Thank-you :-)

I see your site is in private mode. That won’t with the bookmark card feature because when the background request to the provided URL is made it will redirect to the sign-in page and that doesn’t contain enough content for the bookmark card to be generated (it also wouldn’t show any of the content you expect!)

:man_facepalming:t2:Thanks Kevin, really helpfull.

I’ll see if I can think of a way to allow bookmarks to the configured url when a site is in private mode because I agree that it would be useful! Main difficulty is making sure that we don’t open up holes that would allow anyone to fetch private site content :thinking:

1 Like

Hello,

I have been using the platform for a while but wanted to test this feature now. The problem is that this works for any outside site, but not for my own site/blog.

It would be nice to have a visual presentation of another article a bit more then a simple URL.

The error is the same as OP and the web inspector is reporting error 422 (Failed to load resources).

The site is not in private mode and I have it running for more then a year now with the official Casper theme (with just a few modifications).

Any input on the matter would be helpfull.

@Kevin could I please jump in on this one? I’ve just tried to do a bookmark link to 2024 Kia EV9 review: 7-Seat Electric SUV tested and I’m getting the same error as shown above in Henry’s OP.

Cheers!

That link works ok for me, @mikestevens

Maybe try it again? Small internet hiccups can cause problems with bookmark card creation.

Bizarre. Just tried again now, same issue. Cache…?

Self host or ghost pro? Do you have any sort of proxy/security setup that might be interfering?

Is this a problem with all bookmarks, or just this one?

I just tried on again my ghost pro account, and it worked fine. [It also works on my self-hosted install.] Can you open dev tools (F12) and have a look at the console and network tabs for a red error?

I’m getting the same issue on Ghost (self hosting), in the console I’m seeing this error:

Failed to load resource: the server responded with a status of 422 ()

The URL I’m trying is this: Login to DeepSeek with your account Apple in the browser

I’ve tried with https://www.bbc.co.uk and that works. Looking at the differences between them is this a sub domain issue?

Edit: Tried the failed link above in this thread and that worked for me so not sure whats going on.

The console also shows the following validation error which highlights ‘No provider found for supplied URL’:

{
    "errors": [
        {
            "message": "Validation error, cannot read oembed.",
            "context": "No provider found for supplied URL. https://en.stealthsettings.com/deepseek-auth-apple-account.html",
            "type": "ValidationError",
            "details": null,
            "property": null,
            "help": null,
            "code": null,
            "id": "5b00c040-f03a-11ef-8ba7-1b81bf13c25c",
            "ghostErrorCode": null
        }
    ]
}

Edit, Edit: Found this and appears to be a Node.js version issue.

Is it advisable to upgrade Node.js in the docker?