Git Gateway returns 404 on /git/settings despite being enabled, with valid Identity token

Site: gdgtoronto.netlify.app
Repo: github.com/gdgtoronto1-crypto/gdg-toronto-website (connected, confirmed in Git Gateway settings)

I’m trying to log into Decap CMS (/admin) via Netlify Identity + Git Gateway. Identity itself works fine — login and user-fetch requests both return 200. But the subsequent request to https://gdgtoronto.netlify.app/.netlify/git/settings returns 404, and Decap CMS shows: “Your Git Gateway backend is not returning valid settings. Please make sure it is enabled.”

Diagnostic details:

  • Git Gateway shows as enabled in Project configuration, with the repo and a GitHub API access token both present.
  • I disabled and re-enabled Git Gateway — no change.
  • Tried a fresh incognito session — same 404.
  • When I hit https://gdgtoronto.netlify.app/.netlify/git/settings without an auth token myself, I get a proper 401 {"code":401,"msg":"This endpoint requires a Bearer token"} — so the endpoint itself is reachable and responding correctly to unauthenticated requests. It’s only the authenticated request (with a valid Identity token, confirmed via successful token/user calls) that returns 404 instead.

This suggests something is misconfigured or broken on Git Gateway’s backend for this specific site rather than a client-side issue. Could you check the Git Gateway provisioning for this site?