# Dependecy injection error when runnung custom plugin

**URL:** <https://discuss.elastic.co/t/dependecy-injection-error-when-runnung-custom-plugin/193310>\
**Category:** Kibana\
**Created:** [August 1, 2019, 11:22am UTC](https://discuss.elastic.co/t/dependecy-injection-error-when-runnung-custom-plugin/193310 "2019-08-01T11:22:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)\
**Post date:** [August 1, 2019, 12:19pm UTC](https://discuss.elastic.co/t/dependecy-injection-error-when-runnung-custom-plugin/193310/2 "2019-08-01T12:19:48Z")

</div>

I refered to this link to fix this issue. [Struggling with regionmapsConfig provider](https://discuss.elastic.co/t/struggling-with-regionmapsconfig-provider/136075)

---

_[View the full topic](https://discuss.elastic.co/t/dependecy-injection-error-when-runnung-custom-plugin/193310)._
