# Kibana - Shorten URL API With Workspace URL's

**URL:** <https://discuss.elastic.co/t/kibana-shorten-url-api-with-workspace-urls/287687>\
**Category:** Kibana\
**Created:** [October 26, 2021, 12:14pm UTC](https://discuss.elastic.co/t/kibana-shorten-url-api-with-workspace-urls/287687 "2021-10-26T12:14:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![scott\_stash](https://avatars.discourse-cdn.com/v4/letter/s/c89c15/32.png) [@scott\_stash](https://discuss.elastic.co/u/scott_stash)\
**Post date:** [October 26, 2021, 12:14pm UTC](https://discuss.elastic.co/t/kibana-shorten-url-api-with-workspace-urls/287687/1 "2021-10-26T12:14:27Z")

</div>

Currently for my project I create a lot of dashboards with really long links because they apply filters such as time range etc. The Kibana shorten URL is great for this.

I'm not moving my dashboards into different workspaces, but now the shorten url api fails:

```auto
'statusCode': 406, 'error': 'Not Acceptable', 'message': 'Short url target path must be in the format "/app/{{appId}}", found "/s/active/app/dashboards"'}

```

The workspace name is active, so generally I just prefix all URL's with the /s/active. Is there a way around this with the Shorten URL API?

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [October 27, 2021, 4:33pm UTC](https://discuss.elastic.co/t/kibana-shorten-url-api-with-workspace-urls/287687/2 "2021-10-27T16:33:39Z")

</div>

Which version of Kibana are you using? It is possible this has been fixed in a more recent version.

---

<div class="post-metadata">

**Author:** ![scott\_stash](https://avatars.discourse-cdn.com/v4/letter/s/c89c15/32.png) [@scott\_stash](https://discuss.elastic.co/u/scott_stash)\
**Post date:** [October 27, 2021, 8:42pm UTC](https://discuss.elastic.co/t/kibana-shorten-url-api-with-workspace-urls/287687/3 "2021-10-27T20:42:09Z")

</div>

7.14.0

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 24, 2021, 8:42pm UTC](https://discuss.elastic.co/t/kibana-shorten-url-api-with-workspace-urls/287687/4 "2021-11-24T20:42:54Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
