# Confluence Export Troubleshooting

In case you receive an error message during your Glass Documentation export into Confluence, please see the possible causes below and how to fix them.

### Not Found error <a href="#id-3-setupconfluenceexport-notfounderror" id="id-3-setupconfluenceexport-notfounderror"></a>

| **Error message**                                                                                                                                                       | **What it means**                                                                                 | **How to fix it**                                                                                                                                                                                                                                                                                                          |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p></p><p><strong>Not Found</strong></p><ul><li>Page does not exist</li><li>Missing view permission for page</li><li>Missing view permission for space</li></ul><p></p> | The page title or page ID is **incorrect** in the “Location URL” you have added.                  | <p>Check the destination Confluence page’s URL again and correct the “Location URL”.<br>”Location URL” should be one of these formats:</p><ul><li><https://myconfluence.com/display/SPACE/><strong>pagetitle</strong></li><li><http://myconfluence.com/pages/viewpage.action?pageId=><strong>yourpageID</strong></li></ul> |
|                                                                                                                                                                         | You have no **View Permission** in the Confluence space and/or page you want to export into.      | Grant **View Permission** to the executer user in the destination Confluence or contact your System Administrator to help you.                                                                                                                                                                                             |
|                                                                                                                                                                         | The **Application Links** between Jira and Confluence is either missing or not working correctly. | Make sure that the Jira and Confluence **Application Links'** **statuses** are CONNECTED and the Confluence user has the right **permissions**.                                                                                                                                                                            |

### Forbidden errors <a href="#id-3-setupconfluenceexport-forbiddenerrors" id="id-3-setupconfluenceexport-forbiddenerrors"></a>

| <p><strong>Forbidden</strong></p><ul><li>Missing add permission for page</li><li>Missing add permission for space</li></ul>                                                                                                                                                                                                                        | It might mean that you have no **Add Permission** in the Confluence space and/or page you want to export into.                                                                                                                      | Grant **Add Permission** to the executer user in the destination Confluence or contact your System Administrator to help you.                                                                                                                                                                                                                   |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>Forbidden</strong></p><ul><li>Application link is missing</li><li>Application link is not working</li><li>Invalid Location URL</li></ul><p>For more info, please read this <a href="https://codecanvas.atlassian.net/wiki/spaces/GLASS/pages/978649093/3+-+Set+Up+Confluence+export">guide</a>, or contact the system administrator</p> | <p>The page title is <strong>missing</strong> in the “Location URL” you have added.<br><br>or<br><br>The “Location URL” field was filled with <strong>invalid input</strong> - anything other than a valid Confluence page URL.</p> | <p>Check the destination <strong>Confluence page’s URL</strong> again and correct the “Location URL”.<br><br>”Location URL” should be one of these formats:</p><ul><li><https://myconfluence.com/display/SPACE/><strong>pagetitle</strong></li><li><http://myconfluence.com/pages/viewpage.action?pageId=><strong>yourpageID</strong></li></ul> |
|                                                                                                                                                                                                                                                                                                                                                    | The **Application Links** between Jira and Confluence are either missing or not working correctly.                                                                                                                                  | <p>Make sure that the Jira and Confluence <strong>Application Links'</strong> <strong>statuses</strong> are CONNECTED and the Confluence user has the right <strong>permissions</strong>.</p><p><br>Contact your System Administrator if you need help.</p>                                                                                     |

### Bad Request error <a href="#id-3-setupconfluenceexport-badrequesterror" id="id-3-setupconfluenceexport-badrequesterror"></a>

| **Error message**                                                                                                                   | **What could it mean?**                                                                                                                                                                | **How to fix it?**                                                     |
| ----------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| <p><strong>Bad Request</strong></p><ul><li>A page with this title already exists in this space</li><li>Invalid page title</li></ul> | The “Page Title” field was filled with **invalid input** - may be left empty or only filled with whitespaces.                                                                          | Add **valid input** into “Page Title“ field before clicking on Export. |
|                                                                                                                                     | <p>CREATE:<br>A Confluence page with the title you have added in “Page Title“ <strong>already exists</strong> within the same space you want to export into.</p>                       | Add **another title** in “Page Title“ field before clicking on Export. |
|                                                                                                                                     | <p>UPDATE:<br>A Confluence page, other than the page you want to update <strong>already exists</strong> with the added “Page Title“ within the same space you want to export into.</p> |                                                                        |


---

# 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.meta-inf.hu/glass-documentation/user-guides/administration-guide/3-set-up-confluence-export/confluence-export-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.
