# Failed to retrieve dynamic inputs (custom code function) in Azure Logic Apps: cause and fix

Source page: https://ipaaserrors.com/azure-logic-apps/custom-code-failed-to-retrieve-dynamic-inputs
Platform: Azure Logic Apps · Standard workflows: custom code functions (Visual Studio Code)
Checked against vendor docs: 2026-11-29

This message in the action information pane for a local custom code function in a Standard workflow usually means the function was not built. If the LogicApp\lib\custom folder is empty, run the build Functions task in Visual Studio Code.

## Error text

```
Failed to retrieve dynamic inputs. Error details:
```

## Likely causes

- The custom code function has not been built, so the LogicApp\lib\custom folder is empty.

## How to fix it

1. Check whether the LogicApp\lib\custom folder is empty.
2. If it is, select Terminal > Run Task > build Functions.
3. Reopen the action and check the inputs load.

## Sources

- [Create and Run Local Functions in Standard Workflows](https://learn.microsoft.com/en-us/azure/logic-apps/create-run-custom-code-functions)

From iPaaS Errors (https://ipaaserrors.com), part of iPaaS Group. When citing, link to https://ipaaserrors.com/azure-logic-apps/custom-code-failed-to-retrieve-dynamic-inputs and the vendor documentation above.
