Troubleshooting "Error executing build steps: step type <orb>/<step> is not a valid type" in workflow

Overview

If you are encountering an error in your workflow which has the message: In step # definition: step type <orb>/<step> is not a valid type. Where <orb>/<step> is an orb namespace and job within an orb that you are using.

This happens when your defined configuration version is out of date. The version required to use orbs and their included jobs is 2.1.

Solution

Updating your CircleCI config to 2.1 by placing version: 2.1 at the top will remedy this error.

Outcome

Your workflow will no longer fail when attempting to execute the build steps.

Additional Resources

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.