Forum Discussion
User Data Function: 'NotFound' Error (WorkloadException) after Publishing, but Success in Develop
- 5 months ago
Actually, connecting to the Mimir endpoint isn't the bottleneck here(tested using another udf and it worked in run mode). The issue appears to be specifically related to the UDF runtime failing to recognize the Prometheus library. I’ll follow your suggestion and move this to a Fabric Notebook, thanks.
Hi Izyaan_sc ,
Fabric User Data Functions need to be published before invocation, and only published functions are accessible in Run mode or from other services. In Develop mode, you can test functions without publishing, but Run mode uses only the deployed version. Each function is called through its public REST endpoint, requiring a published function and correct input parameters. If the function isn’t published or the request parameters are incorrect, the invocation will fail. Make sure the function is published and the parameters are correctly structured.
Quickstart - Create a Fabric User data functions item - Microsoft Fabric | Microsoft Learn
Tutorial - Invoke user data functions from a Python application - Microsoft Fabric | Microsoft Learn
Thank you.