# Data-plane-api installation Error

**URL:** <https://discourse.haproxy.org/t/data-plane-api-installation-error/8129>\
**Category:** Help!\
**Created:** [November 16, 2022, 7:33pm UTC](https://discourse.haproxy.org/t/data-plane-api-installation-error/8129 "2022-11-16T19:33:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mtaboada](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@mtaboada](https://discourse.haproxy.org/u/mtaboada)\
**Post date:** [November 16, 2022, 7:33pm UTC](https://discourse.haproxy.org/t/data-plane-api-installation-error/8129/1 "2022-11-16T19:33:00Z")

</div>

Hi, I’m trying to install the dataplane API but, after creating the /etc/haproxy/dataplaneapi.hcl file and checking if it’s correct;

$ sudo dataplaneapi -f /etc/haproxy/dataplaneapi.hcl

The system returns me:

sudo: dataplaneapi: command not found

I have put the dataplaneapi.hcl content exactly as it appears in the documentation, substituting the username and host names.

I don’t know why it doesn’t recognize the command,

Thank you.

---

<div class="post-metadata">

**Author:** ![shadyabhi](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@shadyabhi](https://discourse.haproxy.org/u/shadyabhi)\
**Post date:** [November 17, 2022, 12:58pm UTC](https://discourse.haproxy.org/t/data-plane-api-installation-error/8129/2 "2022-11-17T12:58:57Z")

</div>

> [@mtaboada](#):
>
> sudo: dataplaneapi: command not found

The error is that dataplaneapi itself isn’t found, which means you’ve not gone through the `Installation` process correctly.
