Site logo

Archived topic

fonts.googleapis.com/css 400 Bad Request

20 replies · Started by Gerva on October 3, 2020

Viewing posts 1–15 of 21

Good morning to all.
When checking the site with Firefox or Chrome Console I noticed this problem
GET https://fonts.googleapis.com/css [HTTP/2 400 Bad Request 311ms

Searching in the source code of the page I found this line of code (the only one) that I think returns the error.
<link rel='stylesheet' id='generate-fonts-css' href='//fonts.googleapis.com/css' type='text/css' media='all' />

By assonance I assume it is related to GeneratePress, or am I wrong?
If yes, how can I solve the problem.

Thank you for your interest

Hi there,

can you disable your cache plugin so i can take a closer look?

Done
Thanks for your interest

Do you have any Google Fonts selected in any of the Customizer > Typography >>> settings ?

Yes
BODY > Roboto

other setting is all inherit

If you change the Font to another one - does it remove the error ?

now I have set everything to inherint and I have no error

actually the link actually leads to a page 400 !!!
https://fonts.googleapis.com/css

400: Missing font family

The requested font families are not available.

Requested:

What happens if you select a different Google font ?

I changed with other Actor style and I have the same error

Hmmm... something is breaking the Font CSS request.
Can you temporarily disable all other plugins apart from GP Premium, clear any caches and see if the error still shows ?

The same width Pontano Sans

ok but I need 5 minutes for a quick backup
I'm writing you just done
thanks

everything seems to work with only GenerateBlocks and GP Premium
so a plugin blocks the thing
ok I see I understand which one and I report it

GEThttps://fonts.googleapis.com/css?family=Pontano+Sans:regular

This archived topic is closed to new replies.