- Overview
- Python functions
- Deploy and run
Test a function locally before publishing, and push it to Studio Web when you need cloud debugging.
Run locally
Invoke an entry point with a JSON input payload:
uipath run main '{"message": "hello"}'
uipath run main '{"message": "hello"}'
The local run resolves assets, buckets, and connections through the entries in bindings.json. No tenant mapping applies locally, so each call falls back to its design-time identifier and the log records one No resource overwrite matched line per binding. Iterate here until the function returns the output you expect.
For what those lines mean and how the same identifiers are remapped in a target tenant, see Resource bindings.
Debug in Studio Web
Push the project to Studio Web to debug in the cloud:
uipath push
uipath push
Studio Web runs the function in a UiPath-hosted environment, which is useful for reproducing issues that depend on platform context not available locally.
Tips
- Test each entry point individually with representative input.
- Exercise the error paths — confirm that errors behave as expected (see Building Python functions).
- Use tracing to pinpoint which step fails.