Failed to load entry: API_ERROR: [object Object]


I had no problem writing articles from the Netlify CMS except that now it’s no longer possible, when I connect I get the following error:
Capture d’écran 2024-07-08 à 19.09.02

When I look in the console, I get the following information:

Why does it suddenly stop working?

I’ve noticed that if I go to my site, Site configuration > Identity > Services > Git Gateway and press the “disable Git Gateway” button, then press the “enable Git Gateway” button, it works temporarily, then after a while (I don’t know how long) it bugs again.

I think I’ve found the solution, I was using on gitlab a personnal access token that has expired: Personal access tokens | GitLab

I generated a new one and it seems ok.