Expecting 'EOF', got 'OPEN_ENDBLOCK' when attempting to to set up APM in Fleet

I'm trying to set up an APM Integration to work with my Fleet servers, and when I set up the Agent Policy as per the instructions, when I save, I get this error

Error while compiling agent template: Parse error on line 26: ...}include_xml: true{{/if}}{{#if proces ---------------------^ Expecting 'EOF', got 'OPEN_ENDBLOCK'

Anyone have any ideas what might be going wrong?

Thanks

Hi @garetharmstrong

You will need to provide a little more detail on how you are trying to set this up...

What version are you on?

How are you deploying the Elastic Stack?

I set up the Agent Policy as per the instructions,

Can you share what instructions you are following?

When and where are you getting message at what step?