Site logo

Archived topic

net::ERR_ABORTED 400 for GP native fonts

7 replies · Started by Sebastian on August 24, 2022

Viewing posts 1–8 of 8

Hi

I noticed I'm having this annoying error message in my dev console:
GET https://fonts.googleapis.com/css?family=michroma&display=swap net::ERR_ABORTED 400

I'm not calling this font myself anywhere that I'm aware of. Maybe you guys can have a look?

Hi there,

i am not seeing the error in the console. Is this only on the local development site ?

Yes, the site only exists on local. Could that be the cause? I'm leaning more towards the michroma name being all lower caps though.

If it were a syntax error then i would expect to have seen the error in my dev tools.
Can you reopen the tunnel so i can take another look ?

Absolutely! It's wide open 😊

This is what it looks like to me:
Status 400 img

Ooh , now i see the error, and yes the font-family is incorrect.

correct = https://fonts.googleapis.com/css?family=Michroma&display=swap

So that font request has this handle: generateblocks-google-fonts-css which means the font has been selected in GenerateBlocks.
So i checked the CSS stylesheet that GB is loading and found the CSS:

h3.gb-headline-7a0e8f67 {
    font-family: michroma;
    color: #FFFFFF;
}

Which is the Headline you have in the Footer titled: Hjälplabbet

Edit that Block and where the Google Font has been selected in its Typography settings make sure it is Michroma and not michroma

Yup! And just like that, problem solved 😃 If I could I would buy you a beer!

Thank you David

Glad to be of help!

This archived topic is closed to new replies.