Bug; Cant fetch single type on production, but the exact same code works in development

I have config parameters in my single type

const config = await strapi.service('api::config.config').find();

This returns {“data”:null,“error”:{“status”:404,“name”:“NotFoundError”,“message”:“Not Found”,“details”:{}}}
on production, but it works in development

Along with 2 other single types, theyre not fetching anything

Yes I have enabled the api endpoints in the settings permissions already

This topic has been created from a Discord post (1273313509161177238) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

Wow yeah guys its a bug

I have to edit a data, hit save, and then it shows up finally in the rest api

even if the default data is present, i ahve to manually edit it for it to work

Strapi version “@strapi/strapi”: “4.25.2”,