You may run into this error for a couple of reasons:
1. You have a 2.0 config file that does not have a single job called `build`
2. You are trying to run a workflow from the API, without Build Processing enabled. More on trigging a workflow with the API can be found here.