# XWiki Scripting API Reference is broken

**URL:** <https://forum.xwiki.org/t/xwiki-scripting-api-reference-is-broken/11349>\
**Category:** Help / Discuss\
**Created:** [November 15, 2022, 7:51am UTC](https://forum.xwiki.org/t/xwiki-scripting-api-reference-is-broken/11349 "2022-11-15T07:51:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NorSch](https://forum.xwiki.org/user_avatar/forum.xwiki.org/norsch/32/3116_2.png) [@NorSch](https://forum.xwiki.org/u/NorSch)\
**Post date:** [November 15, 2022, 7:51am UTC](https://forum.xwiki.org/t/xwiki-scripting-api-reference-is-broken/11349/1 "2022-11-15T07:51:27Z")

</div>

The **XWiki Scripting API Reference**

> **[XWiki Scripting API Reference (XWiki.org)](https://www.xwiki.org/xwiki/bin/view/ScriptingDocumentation)**
>
> Enterprise wiki for sharing knowledge

is broken:

If you select any module (e.g. addAttachment of $doc) you will receive an error:

```auto
**Documentation not found**
The requested documentation could not be found on the documentation server.

```

---

<div class="post-metadata">

**Author:** ![surli](https://forum.xwiki.org/user_avatar/forum.xwiki.org/surli/32/2687_2.png) [@surli](https://forum.xwiki.org/u/surli)\
**Post date:** [November 15, 2022, 8:33am UTC](https://forum.xwiki.org/t/xwiki-scripting-api-reference-is-broken/11349/2 "2022-11-15T08:33:39Z")

</div>

Hi, thanks for your report, there’s already a ticket for it that you can follow here: [Loading...](https://jira.xwiki.org/browse/XINFRA-361)

Note that a workaround seems to be to open those links using right click + open in new tab (or copy link + paste it the address bar). Apparently the error is related to a bad javascript handling on click on the links.
