# Error : Shorten url giving error unable to parse url

**URL:** <https://discuss.elastic.co/t/error-shorten-url-giving-error-unable-to-parse-url/192219>\
**Category:** Kibana\
**Created:** [July 25, 2019, 10:21am UTC](https://discuss.elastic.co/t/error-shorten-url-giving-error-unable-to-parse-url/192219 "2019-07-25T10:21:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DG13](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@DG13](https://discuss.elastic.co/u/DG13)\
**Post date:** [July 25, 2019, 10:21am UTC](https://discuss.elastic.co/t/error-shorten-url-giving-error-unable-to-parse-url/192219/1 "2019-07-25T10:21:53Z")

</div>

Hi,  
To view one of the dashboard in full screen mode I try to use the Shorten url feature of Kibana  
Once I shorten the url I am getting error unable to parse url .  
Appreciate the help on issue !!

Thanks,  
DG

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [July 25, 2019, 10:46am UTC](https://discuss.elastic.co/t/error-shorten-url-giving-error-unable-to-parse-url/192219/2 "2019-07-25T10:46:51Z")

</div>

Hi @DG13 thanks for your interest in Kibana,  
To understand better the problem we need the following:

- the version of kibana you are currently using
- the URL of the current dashboard (you can remove the IP/host and any other sensible field
- any other details from the error. Does that error provides you some more details? a stack trace? if not can you check the browser Dev Tools console? (in chrome under More Tools-\> Developer Tools clicking on the menu on the top right corner of chrome)
- any related error in the kibana logs?

---

<div class="post-metadata">

**Author:** ![DG13](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@DG13](https://discuss.elastic.co/u/DG13)\
**Post date:** [July 26, 2019, 2:28am UTC](https://discuss.elastic.co/t/error-shorten-url-giving-error-unable-to-parse-url/192219/3 "2019-07-26T02:28:45Z")

</div>

Hi ,  
Here are the requested details  
**Purpose of the url shorten** - I would like to shorten the URL with full screen to show the user the clear screen without filters on the top with just markdown with links , think of it as landing page. If anybody knows any other alternative to the problem please do share.  
Kibana Version - v 7.1.0  
URL used for shortening -  
-[http://xx.xx.xx.xx/app/kibana#/dashboard/9b40aa50-962a-11e9-9e1d-bb5cadafbcc3?\_g=()&\_a=(description:'',filters:!(),fullScreenMode:!t,options:(hidePanelTitles:!t,useMargins:!f),panels:!((embeddableConfig:(),gridData:(h:6,i:'4',w:48,x:0,y:0),id:'9c09c540-a2e4-11e9-b829-b7eba9f34faa',panelIndex:'4',type:visualization,version:'7.1.0'](http://xx.xx.xx.xx/app/kibana#/dashboard/9b40aa50-962a-11e9-9e1d-bb5cadafbcc3?_g=()&_a=(description:'',filters:!(),fullScreenMode:!t,options:(hidePanelTitles:!t,useMargins:!f),panels:!((embeddableConfig:(),gridData:(h:6,i:'4',w:48,x:0,y:0),id:'9c09c540-a2e4-11e9-b829-b7eba9f34faa',panelIndex:'4',type:visualization,version:'7.1.0')),(embeddableConfig:(),gridData:(h:6,i:'5',w:40,x:8,y:13),id:'969907e0-a2e6-11e9-b829-b7eba9f34faa',panelIndex:'5',type:visualization,version:'7.1.0'),(embeddableConfig:(),gridData:(h:4,i:'6',w:39,x:8,y:6),id:da448720-a2e7-11e9-b829-b7eba9f34faa,panelIndex:'6',type:visualization,version:'7.1.0'),(embeddableConfig:(),gridData:(h:3,i:'7',w:40,x:8,y:10),id:'85df5830-a2e8-11e9-b829-b7eba9f34faa',panelIndex:'7',type:visualization,version:'7.1.0'),(embeddableConfig:(),gridData:(h:9,i:'8',w:40,x:8,y:19),id:a1817bf0-a2ec-11e9-b829-b7eba9f34faa,panelIndex:'8',type:visualization,version:'7.1.0')),query:(language:lucene,query:''),timeRestore:!f,title:'Landing%20Page',viewMode:view)

Url after shortening which gives error - unable to parse url -  
[http://xx.xx.xx.xx/app/kibana#/dashboard/9b40aa50-962a-11e9-9e1d-bb5cadafbcc3?\_g=()&\_a=(description:,filters:!(),fullScreenMode:!t,options:(hidePanelTitles:!t,useMargins:!f),panels:!((embeddableConfig:(),gridData:(h:6,i:4,w:48,x:0,y:0),id:9c09c540-a2e4-11e9-b829-b7eba9f34faa,panelIndex:4,type:visualization,version:7.1.0](http://xx.xx.xx.xx/app/kibana#/dashboard/9b40aa50-962a-11e9-9e1d-bb5cadafbcc3?_g=()&_a=(description:,filters:!(),fullScreenMode:!t,options:(hidePanelTitles:!t,useMargins:!f),panels:!((embeddableConfig:(),gridData:(h:6,i:4,w:48,x:0,y:0),id:9c09c540-a2e4-11e9-b829-b7eba9f34faa,panelIndex:4,type:visualization,version:7.1.0)),(embeddableConfig:(),gridData:(h:6,i:5,w:40,x:8,y:13),id:969907e0-a2e6-11e9-b829-b7eba9f34faa,panelIndex:5,type:visualization,version:7.1.0),(embeddableConfig:(),gridData:(h:4,i:6,w:39,x:8,y:6),id:da448720-a2e7-11e9-b829-b7eba9f34faa,panelIndex:6,type:visualization,version:7.1.0),(embeddableConfig:(),gridData:(h:3,i:7,w:40,x:8,y:10),id:85df5830-a2e8-11e9-b829-b7eba9f34faa,panelIndex:7,type:visualization,version:7.1.0),(embeddableConfig:(),gridData:(h:9,i:8,w:40,x:8,y:19),id:a1817bf0-a2ec-11e9-b829-b7eba9f34faa,panelIndex:8,type:visualization,version:7.1.0)),query:(language:lucene,query:),timeRestore:!f,title:Landing%20Page,viewMode:view)

Rest API docs which I tried to shorten - [https://www.elastic.co/guide/en/kibana/master/url-shortening-api-api-shorten-url.html](https://www.elastic.co/guide/en/kibana/master/url-shortening-api-api-shorten-url.html)

Usage - I used the curl command for url shortening as when in Full screen the url shortening in Kibana UI is not shown ☹

Let me know if you would need any other information.

Appreciate the help !!

Thanks

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [August 2, 2019, 8:23am UTC](https://discuss.elastic.co/t/error-shorten-url-giving-error-unable-to-parse-url/192219/4 "2019-08-02T08:23:10Z")

</div>

Hi,  
I've just tested locally on 7.1.0 and I don't see any particular error when shortening the first url.

My POST request is:

```auto
{
	"url":"/app/kibana#/dashboard/9b40aa50-962a-11e9-9e1d-bb5cadafbcc3?_g=()&_a=(description:'',filters:!(),fullScreenMode:!t,options:(hidePanelTitles:!t,useMargins:!f),panels:!((embeddableConfig:(),gridData:(h:6,i:'4',w:48,x:0,y:0),id:'9c09c540-a2e4-11e9-b829-b7eba9f34faa',panelIndex:'4',type:visualization,version:'7.1.0'),(embeddableConfig:(),gridData:(h:6,i:'5',w:40,x:8,y:13),id:'969907e0-a2e6-11e9-b829-b7eba9f34faa',panelIndex:'5',type:visualization,version:'7.1.0'),(embeddableConfig:(),gridData:(h:4,i:'6',w:39,x:8,y:6),id:da448720-a2e7-11e9-b829-b7eba9f34faa,panelIndex:'6',type:visualization,version:'7.1.0'),(embeddableConfig:(),gridData:(h:3,i:'7',w:40,x:8,y:10),id:'85df5830-a2e8-11e9-b829-b7eba9f34faa',panelIndex:'7',type:visualization,version:'7.1.0'),(embeddableConfig:(),gridData:(h:9,i:'8',w:40,x:8,y:19),id:a1817bf0-a2ec-11e9-b829-b7eba9f34faa,panelIndex:'8',type:visualization,version:'7.1.0')),query:(language:lucene,query:''),timeRestore:!f,title:'Landing%20Page',viewMode:view)"
}

```

and I've got a valid `urlId` like

```auto
{
    "urlId": "b93b5548aafe6ae05000b6f8dd133a8c"
}

```

that used with in the following url: `http://localhost:5601/goto/b93b5548aafe6ae05000b6f8dd133a8c` resolves correctly to the original URL.

Could you please share a screenshot with the `unable to parse url` error message? Does that message come from Kibana when opening the `/goto/` shortened url?

---

<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:** [August 30, 2019, 8:23am UTC](https://discuss.elastic.co/t/error-shorten-url-giving-error-unable-to-parse-url/192219/5 "2019-08-30T08:23:21Z")

</div>

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