Azure Logic Apps · Standard workflows: custom code functions (Visual Studio Code)
Failed to retrieve dynamic inputs (custom code function)
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.
VerifiedLast verified
01Error text
Failed to retrieve dynamic inputs. Error details:02Likely causes
- The custom code function has not been built, so the LogicApp\lib\custom folder is empty.
03How to fix it
- Check whether the LogicApp\lib\custom folder is empty.
- If it is, select Terminal > Run Task > build Functions.
- Reopen the action and check the inputs load.
04Fix it with AI
Copy this prompt into Claude Code, ChatGPT or any AI assistant. It already holds the error, the likely causes and the fix steps, so the assistant starts from what is known instead of guessing.
I'm getting this error in Azure Logic Apps (Standard workflows: custom code functions (Visual Studio Code)):
Failed to retrieve dynamic inputs. Error details:
What it usually means: 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.
Likely causes:
- The custom code function has not been built, so the LogicApp\lib\custom folder is empty.
Fix steps that usually work:
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.
Help me fix it. If you can read my project files, find where this error comes from. If not, ask me for what you need (the failing step, its input, the connection or config). Check the likely causes one by one, tell me which one it is and why, then give me the exact change to make. Do not change anything in production. Reference: https://ipaaserrors.com/azure-logic-apps/custom-code-failed-to-retrieve-dynamic-inputsNothing is sent anywhere from this page. Read what the assistant suggests before you apply it.
05Official documentation
→Related errors
- Workflow design time could not be startedThis Visual Studio Code error means the Standard workflow designer cannot open, because the extension bundle did not download correctly after an earlier project was discontinued or deleted. Delete the ExtensionBundles folder under your user Temp\Functions folder, then open workflow.json in the designer again.
- New triggers and actions are missing from the designer pickerWhen new triggers and actions are missing from the Standard workflow designer in Visual Studio Code, the extension uses an outdated version of the Microsoft.Azure.Functions.ExtensionBundle.Workflows bundle. Close Visual Studio Code, delete the earlier bundle and package version folders, then reopen the project.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for Azure Logic Apps work:Open Azure Logic Apps jobsAzure Logic Apps pay estimates