Mendix errors

0
Hi. I have a time series and a line chart widgets that show the chart of the sensors I am getting from an IOT platform. Everything is working perfectly until I changed the project security to ‘Production’ mode.    I am now unable to see the sensor data in the graphs and I am receiving an error “ Please contact your administrator...” in my dashboard.    In Mendix, I received the following errors:      May I know what are the reasons for having these errors please? 
asked
4 answers
0

I can not explain all errors, but i believe the one that may be the root cause is the 404 error. Microflow MyFirstModule.loop_all_api reports an http 404 (not found) error while doing some sort of rest call. It is either not using the correct url for that call or the service is not accessible.

I hope this helps.

answered
0

Hi thanks for replying. I did not change the URL at all and it only works when there is no security being applied. Does applying the security affects the call rest api? 

 

However, I have other microflows that use call rest API and it works normally. Hence, I am confused where the mistake is. It is only this particular microflow that has an error ( I think)… 

answered
0

You've changed your app security to production, but did you remember to update security on a module level as well?

https://docs.mendix.com/refguide/project-security

It may be that the administrator role you are seeing in the errors does not have the correct roles in other modules, so remind yourself to set these check boxes!

answered
0

Hi.

 

Yes I just checked the security on module level and it looks fine to me. 

 

 

Its ok though. When I am writing this reply, I have managed to get it to work. :D My mistake was that I did not apply access rules to all of my entities ( I missed out 2 entities). 

 

answered