Getting error code 400 when trying to fetch data

System Information
  • Strapi Version:
  • Operating System: Windows
  • Database: posgress and sqlite
  • Node Version: 14.15.3
  • NPM Version: ‘7.20.5’
  • Yarn Version: 1.22.5

This is strange, I’m getting this error: Failed to fetch data from Strapi Request failed with status code 400, when trying to fetch data from Strapi with my Gatsby application. all my roles and permissions are up to date and this error is difficult to debug since it’s very new and no one seems to have the same issues.