Persistent 403 Forbidden Error on Published REST Service (Mendix 8.18.13) When Using Postman

0
Hi,    I have created a User Deactivation API with a PUT request. I am using Postman to test my API. The application runs locally without errors, and I can successfully authenticate, but the request is failing with a 403 Forbidden error. This indicates a permissions issue, even though I believe all security is correctly configured. Here is the Setup and Error Details: Error Code: 403 Forbidden ("You are not allowed to access this resource.") User Role: My Postman test user is assigned the TechnicalAdministrator role. Module Role: The TechnicalAdministrator role is explicitly associated with the APIRole module role (verified in Project Security). Microflow Security: The POSTDeactivation microflow's Allowed Roles is set to include the APIRole Despite these explicit security grants, the 403 error persists. Like I stated, I created a new role in my web browser, username and password, and made sure I as assigned the TechnicalAdministration role to the user. I am logging in with that exact username and password when running my API, but I keep getting 403 error.    How do I fix this?
asked
1 answers
0

If you are hosting on the Mendix Cloud, have you checked that you don't have any path or IP restrictions setup there?

 

https://docs.mendix.com/developerportal/deploy/access-restrictions/

answered