Workflow-spec returning error response