403 error when accessing a self Published REST in a Mendix app hosted on Cloud Foundry

Hello, I have a Mendix application hosted on Cloud Foundry. I want to add functionality that allows reading and writing directly to this application's database, so I thought about Mendix's native Published REST Services. Locally, I was able to publish the APIs for GET and POST. It also works in the application when I deploy it to the Mendix cloud. However, when accessing the app through Cloud Foundry I am not successful, returning the ERROR 403 message. CORS and authentication for the API access are disabled, its why I have no problems running locally or in the Mendix cloud. Does anyone already had a similar problem that could help me?
0 answers