If you go into your Mendix console, and set the Log Level for the “REST Consume” node to “TRACE” you can see the request and response when Mendix tries to call the service you’ve built. This should let you know what is going on. Can you share an example request and response if you are still stuck?
In all honesty, I am a bit biased as I work for UbiOps. I was triggered by your comment that you do not want to rely on an external tool for serving your python model. Really curious to learn about your thoughts on this. Maybe we can help still, as UbiOps also comes in an on-premise version, which you can run on your own cluster.
Fully understand if you want to continue using your own setup. In that case we might still be able to help by sharing our experience with Mendix integrations.
If you are open to discuss, let me know.
The newly announced Machine learning toolkit (announced at Mx World 21) will allow you to import ML Models directly into the platform, which may help you in future.
I’d recommend watching the CTO Keynote 34 minutes onwards demos this feature:
Mendix World 2021 | Session Catalog
Release dates for the features are available here: Feature Release Calendar (MxWorld 2021) - Release Notes | Mendix Documentation
For organizations looking to incorporate custom machine learning models into their Mendix-developed apps, den Haan also announced the Mendix Machine Learning (ML) Kit. This is a key capability when business processes and end-user satisfaction rely on specialized machine learning models, such as ones that execute over a proprietary data set or key off a custom parameter.
With the ML Kit, Mendix is applying low-code’s abstraction and automation to the often complex and cumbersome integration of AI models. Eschewing the typical complexities of REST services and APIs, the ML Kit supports drag-and-drop of machine learning models, with automatic translation and execution. Said den Haan, “Assembling purpose-built, relevant apps becomes easier for developers, and the applications themselves provide more value to the end users.”