# Troubleshooting

## FAQs

### Why does my template not work when I copy and paste the exact reference tag?

#### Solution 1 - Check Curly Brackets

Check that all of your endpoints contain clear two curly brackets before and after each endpoint is added.

i.e. {{JobNumber}}

#### Solution 2 - Remove Mergefield Code

Microsoft Word templates are managed with Field Code view. To see if your fields have been correctly inserted, switch to Field code view:

* If you’re using Windows, press Alt + F9 on your keyboard.
* If you’re using a Mac, go to Preferences and click on Authoring and Proofing Tools. Then select View and Field codes instead of values.

<figure><img src="/files/w8vE3jbqCPywSntmDWhA" alt=""><figcaption></figcaption></figure>

You’ll now be able to see the field codes. This can be leftover logic from other templates and source documentation (like using Xero templates).

Remove any Mergefield code present, then Save and try uploading the template to StayOnHire again.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stayonhire.com/documents/templates/reference-tags/troubleshooting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
