# Short Url Copy Link Under Paramalink not working

**URL:** <https://discuss.elastic.co/t/short-url-copy-link-under-paramalink-not-working/230740>\
**Category:** Kibana\
**Created:** [May 1, 2020, 4:52pm UTC](https://discuss.elastic.co/t/short-url-copy-link-under-paramalink-not-working/230740 "2020-05-01T16:52:50Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ravi\_yadav2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ravi_yadav2/32/61530_2.png) [@ravi\_yadav2](https://discuss.elastic.co/u/ravi_yadav2)\
**Post date:** [May 1, 2020, 4:52pm UTC](https://discuss.elastic.co/t/short-url-copy-link-under-paramalink-not-working/230740/1 "2020-05-01T16:52:50Z")

</div>

Hi Team,

After observing the calls of localhost kibana setup on pasting Copy link short url from paramalinks in another tab , i found out a redirection is happening with status code 302.  
Even the response is containing a location attribute which is having the snapshot at a particular instant.

Network call in my case is [https://serverAddress/amdashboard/proxy/goto/ef23b6a4f287e80ff0820ac3251b48ba](https://serverAddress/amdashboard/proxy/goto/ef23b6a4f287e80ff0820ac3251b48ba)  
is responding me with 404 and no location attribute attached in response.  
No redirection is happening .

Please help me to fix this.

Attaching local host image down.

 ![localhost](https://us1.discourse-cdn.com/elastic/original/3X/0/6/06ccb70940bdd8f0afad1282ed93a325bdacdedd.png)

---

<div class="post-metadata">

**Author:** ![Luca\_Belluccini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/luca_belluccini/32/33239_2.png) [@Luca\_Belluccini](https://discuss.elastic.co/u/Luca_Belluccini)\
**Post date:** [May 1, 2020, 5:51pm UTC](https://discuss.elastic.co/t/short-url-copy-link-under-paramalink-not-working/230740/2 "2020-05-01T17:51:57Z")

</div>

I think it might be because:

- the URL behind the shortened URL is too long
- the Dashboard or visualization pointed to the URL doesn't exist anymore

I also noticed you seem to access to Kibana via `https://serverAddress/amdashboard/proxy/goto/...`

But in the screenshot you have `http://localhost:5601/zgc/goto/...`.

- What is the actual length of the dashboard URL once expanded?
- Is Kibana behind a reverse proxy (E.g. nginx)?

---

<div class="post-metadata">

**Author:** ![ravi\_yadav2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ravi_yadav2/32/61530_2.png) [@ravi\_yadav2](https://discuss.elastic.co/u/ravi_yadav2)\
**Post date:** [May 1, 2020, 7:37pm UTC](https://discuss.elastic.co/t/short-url-copy-link-under-paramalink-not-working/230740/3 "2020-05-01T19:37:07Z")

</div>

Thanks for such quick reply!

**Kibana Version ---\> 7.4.2**

**My server base path ---\> /amdashboard/proxy**

Short URl i want to access--\> [http://serverAddress/amdashboard/proxy/goto/02b0323c1012b0dc2bdc58c041cb46f3](http://serverAddress/amdashboard/proxy/goto/02b0323c1012b0dc2bdc58c041cb46f3)

The actual URL once expanded is -\>\>  
[http://serverAddress/amdashboard/proxy/app/kibana#/dashboard/5502b7e0-8be3-11ea-9ee3-839d4c8bf86a?\_g=(refreshInterval:(pause:!f,value:30000),time:(from:now-7d,to:now)](http://serverAddress/amdashboard/proxy/app/kibana#/dashboard/5502b7e0-8be3-11ea-9ee3-839d4c8bf86a?_g=(refreshInterval:(pause:!f,value:30000),time:(from:now-7d,to:now)))&\_a=(description:'',filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!(),query:(language:kuery,query:''),timeRestore:!f,title:'New%20Dashboard',viewMode:view)

Copy pasting expanded url works fine but if trying from short url, it is failing.

---

<div class="post-metadata">

**Author:** ![Luca\_Belluccini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/luca_belluccini/32/33239_2.png) [@Luca\_Belluccini](https://discuss.elastic.co/u/Luca_Belluccini)\
**Post date:** [May 1, 2020, 8:30pm UTC](https://discuss.elastic.co/t/short-url-copy-link-under-paramalink-not-working/230740/4 "2020-05-01T20:30:47Z")

</div>

But why the browser traces show a different url?

---

<div class="post-metadata">

**Author:** ![ravi\_yadav2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ravi_yadav2/32/61530_2.png) [@ravi\_yadav2](https://discuss.elastic.co/u/ravi_yadav2)\
**Post date:** [May 1, 2020, 9:26pm UTC](https://discuss.elastic.co/t/short-url-copy-link-under-paramalink-not-working/230740/5 "2020-05-01T21:26:26Z")

</div>

Actually i was working parallely with two setups one with local host server, other with different server address.......in local host it is working fine....but in my server it is failing for sort url.

---

<div class="post-metadata">

**Author:** ![Luca\_Belluccini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/luca_belluccini/32/33239_2.png) [@Luca\_Belluccini](https://discuss.elastic.co/u/Luca_Belluccini)\
**Post date:** [May 1, 2020, 9:42pm UTC](https://discuss.elastic.co/t/short-url-copy-link-under-paramalink-not-working/230740/6 "2020-05-01T21:42:59Z")

</div>

Oh ok understood.  
Is there a chance you could share the HAR file from the browser keeping the traces after the redirect?

---

<div class="post-metadata">

**Author:** ![ravi\_yadav2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ravi_yadav2/32/61530_2.png) [@ravi\_yadav2](https://discuss.elastic.co/u/ravi_yadav2)\
**Post date:** [May 1, 2020, 9:56pm UTC](https://discuss.elastic.co/t/short-url-copy-link-under-paramalink-not-working/230740/7 "2020-05-01T21:56:39Z")

</div>

sure!

---

<div class="post-metadata">

**Author:** ![Luca\_Belluccini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/luca_belluccini/32/33239_2.png) [@Luca\_Belluccini](https://discuss.elastic.co/u/Luca_Belluccini)\
**Post date:** [May 1, 2020, 10:47pm UTC](https://discuss.elastic.co/t/short-url-copy-link-under-paramalink-not-working/230740/9 "2020-05-01T22:47:26Z")

</div>

In the `server.har` file you've shared, the request to `/amdashboard/proxy/goto/02b0323c1012b0dc2bdc58c041cb46f3` returns 404, meaning it doesn't exist.

---

<div class="post-metadata">

**Author:** ![ravi\_yadav2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ravi_yadav2/32/61530_2.png) [@ravi\_yadav2](https://discuss.elastic.co/u/ravi_yadav2)\
**Post date:** [May 7, 2020, 9:09pm UTC](https://discuss.elastic.co/t/short-url-copy-link-under-paramalink-not-working/230740/10 "2020-05-07T21:09:34Z")

</div>

Thank you!

---

<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:** [June 4, 2020, 9:09pm UTC](https://discuss.elastic.co/t/short-url-copy-link-under-paramalink-not-working/230740/11 "2020-06-04T21:09:37Z")

</div>

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