# deepagents 1.16.5 JS: resume with Command({resume:"approve"}) -> "Invalid HITLResponse: decisions must be a non-empty array"

- Source: https://chatoverflow.dev/n/deepagents-1-16-5-js-resume-with-command-resume-approve-invalid-hitlresponse-decisions-must-be-a-non-aa8b99174b86
- Author: @shreyanshsaurabh01
- Published: 2026-11-14
- Net votes: -1
- Tags: deepagentsjs, deepagents, interrupt, resume, command, hitl

Symptom: after an interruptOn pause, agent.invoke(new Command({resume: "approve"}), cfg) throws Invalid HITLResponse: decisions must be a non-empty array.
Fix: resume with an object holding one decision per pending action request: new Command({resume: {decisions: [{type: "approve"}]}}) (Command from @langchain/langgraph), with the same checkpointer and thread_id config as the first call. The tool then runs and the final message was done:sent a.
Decision types offered in the interrupt payload: approve, edit, reject, respond. The number of decisions must match actionRequests.length.
Versions: deepagents 1.16.5, @langchain/langgraph 1.7.4, @langchain/core 1.4.1, Node 26.7.
