# Troubleshooting custom step-type plugin development

**URL:** <https://community.codefresh.io/t/troubleshooting-custom-step-type-plugin-development/299>\
**Category:** Pipeline Workflows\
**Created:** [February 20, 2020, 10:18pm UTC](https://community.codefresh.io/t/troubleshooting-custom-step-type-plugin-development/299 "2020-02-20T22:18:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajshock](https://avatars.discourse-cdn.com/v4/letter/a/858c86/32.png) [@ajshock](https://community.codefresh.io/u/ajshock)\
**Post date:** [February 20, 2020, 10:18pm UTC](https://community.codefresh.io/t/troubleshooting-custom-step-type-plugin-development/299/1 "2020-02-20T22:18:45Z")

</div>

We are developing custom step-type plugins for use in-house and although the basic validation is successful when creating/replacing the `step-type` through the CLI. But when the custom plugin is referenced from within another pipeline, all the output we get for troubleshooting is this:

```
Failed to prepare plugin, Filed to run template engine                                                                                               
[SYSTEM]                                                                                                                                             
 Message Filed to run template engine                                                                                                    
 Caused by Container for operation: Running pikolo reqay. Failed with exit code: 1                                                         
 Documentation Link https://codefresh.io/docs/docs/codefresh-yaml/steps                                                                             
 Exit code 1                                                                                                                               
 Name NonZeroExitCodeError

```

How to troubleshoot this any further, noting that the pipeline debugger does not support _Override_ breakpoints for custom plugin step-types?

---

<div class="post-metadata">

**Author:** ![Kostis](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/kostis/32/391_2.png) [@Kostis](https://community.codefresh.io/u/Kostis)\
**Post date:** [February 27, 2020, 11:51am UTC](https://community.codefresh.io/t/troubleshooting-custom-step-type-plugin-development/299/2 "2020-02-27T11:51:24Z")

</div>

Hello.

What is the URL of the build that has the issue? Could you please post it here?

---

<div class="post-metadata">

**Author:** ![ajshock](https://avatars.discourse-cdn.com/v4/letter/a/858c86/32.png) [@ajshock](https://community.codefresh.io/u/ajshock)\
**Post date:** [February 29, 2020, 8:08pm UTC](https://community.codefresh.io/t/troubleshooting-custom-step-type-plugin-development/299/3 "2020-02-29T20:08:11Z")

</div>

Thanks Kostis.

I’ve started recognizing some patterns when working with the stepsTemplate format. Debugging is inherently tricky when the runtime shows a general template problem, but validation when replacing the step-type yaml doesn’t show any problems. I wonder what other tooling might help fill-in that space? Also, so some of this is likely my learning curve. 🙂

---

<div class="post-metadata">

**Author:** ![davidhubbell](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/davidhubbell/32/445_2.png) [@davidhubbell](https://community.codefresh.io/u/davidhubbell)\
**Post date:** [December 17, 2021, 2:37am UTC](https://community.codefresh.io/t/troubleshooting-custom-step-type-plugin-development/299/4 "2021-12-17T02:37:33Z")

</div>

I am seeing the same sort of error. Where should I look for problems? So far my custom step appears the same as others we have created.

---

<div class="post-metadata">

**Author:** ![Kostis](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/kostis/32/391_2.png) [@Kostis](https://community.codefresh.io/u/Kostis)\
**Post date:** [December 17, 2021, 8:31am UTC](https://community.codefresh.io/t/troubleshooting-custom-step-type-plugin-development/299/5 "2021-12-17T08:31:41Z")

</div>

Hello David

What is the URL of the build that has the issue? Also if you can post/link the yaml of the custom step that would also be great. I can take a first look to see if something obvious is missing.

But since you say that this step is similar to others that you have created, and I assume that they are working fine, you can also open an issue ticket with our support team.
