Strapi 5 API query populate to get nested components and images

Im having problems getting my api query to give me the correct data, When i send the request directly to my strapi domain with a very complex query i get back the correct data: /api/about?locale=en&populate[Hero]=*&populate[Industries][populate][leftImage]=true&populate[Industries][populate][rightImage]=true&populate[Future][populate][Image]=true when i perform that same query on the server (Docker hosted) i get 400 bad request. When i perform a very simple query about?locale=en&populate[Hero]=*&populate[Industries]=* on the server i get the correct data, but when i request the same url directly to my strapi url i get only top level data (no nested components or images). How can this be?

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

now when i tried to build the site again (First time was without using the data and just console logging it) i get error that its undefined, how can it be that when i dont use the data it console.logs the correct data but when i use it its undefined?