---
isPrivate: true
title: jmx.yaml error, Include Section
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Integrations > FAQ Integrations > jmx.yaml error, Include Section
---

# jmx.yaml error, Include Section

{% callout %}
# Important note for users on the following Datadog sites: us2.ddog-gov.com

{% alert level="info" %}
To find out if this integration is available in your organization, see your [Datadog Integrations](https://app.datadoghq.com/integrations) page or ask your organization administrator.

To initiate an exception request to enable this integration for your organization, email [support@ddog-gov.com](mailto:support@ddog-gov.com).
{% /alert %}

{% /callout %}

You may encounter the following error message when configuring your `jmx.yaml` file:

```text
initialize check class [ERROR]: "Each configuration must have an 'include' section. See https://docs.datadoghq.com/integrations/java/ for more information"
```

In this case, the error is thrown because of incorrect indentation in the yaml file. For example, in the screenshot below you can see that there is no indentation of 'domain' after the 'include'. This throws the error.

{% image
   source="https://docs.dd-static.net/images/integrations/faq/incorrect_jmx_include.90629c58cd2f0fc7c15db7b8f5b6dd88.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/integrations/faq/incorrect_jmx_include.90629c58cd2f0fc7c15db7b8f5b6dd88.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="incorrect_jmx_include" /%}

If you were to place the above code into the [Online YAML Parser](http://yaml-online-parser.appspot.com) , you would get a JSON object in the right hand window in which you can see that the value of "include" comes out as null.

In order to correct this, indent the lines below 'include' two spaces to the right as depicted below. This ensures that 'include' is not registered as null.

{% image
   source="https://docs.dd-static.net/images/integrations/faq/correct_jmx_include.d3f22da314255276bea56b0a7858fd92.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/integrations/faq/correct_jmx_include.d3f22da314255276bea56b0a7858fd92.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="correct_jmx_include" /%}


