Problems accessing BDM with custom application using a custom profile

Hello everyone,

I am developing a custom application, a catalog of providers, the application basically execute a query (API) to the database and shows the result in a table.

Generate a new Profile for this application and associate it with the application when you configure the new application in the portal, in the applications menu. The problem is that it does not allow me to get the data from the database.

If I use the Profile User, I can get the data.

Any idea how to solve this problem.

Thanks and regards.