# Href url redirection issue

**URL:** <https://community.smartthings.com/t/href-url-redirection-issue/18899>\
**Category:** Writing SmartApps\
**Created:** [July 8, 2015, 5:36am UTC](https://community.smartthings.com/t/href-url-redirection-issue/18899 "2015-07-08T05:36:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dundonald](https://avatars.discourse-cdn.com/v4/letter/d/a9a28c/32.png) [@dundonald](https://community.smartthings.com/u/dundonald)\
**Post date:** [July 8, 2015, 5:36am UTC](https://community.smartthings.com/t/href-url-redirection-issue/18899/1 "2015-07-08T05:36:18Z")

</div>

hi, I am currently working on oauth2.0 through smarth app ide. However, I encountered an issue that when I try to redirect url --\> dynamic{ section {href (url)}} \<-- like this. The page does not redirect and when I checked it with developer’s mode on my mac, it showed me that I am getting the network error code of 500. I think the problem is that when I redirect url, IDE may be trying to pop-up? it on a new page and I think they use to have that page but now it has been removed or something. (I am not 100% sure, it could be the issue on my code… anyways.) So, IDE try to call a page “[https://graph.api.smartthings.com/ide/app/page](https://graph.api.smartthings.com/ide/app/page)” \<-- this but this page does not exist. Please help me out to figure out the issue. Hope, I can get it for easy. Thanks!

---

<div class="post-metadata">

**Author:** ![slagle](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/slagle/32/16950_2.png) [@slagle](https://community.smartthings.com/u/slagle)\
**Post date:** [July 8, 2015, 7:47pm UTC](https://community.smartthings.com/t/href-url-redirection-issue/18899/2 "2015-07-08T19:47:04Z")

</div>

Hey, Thomas!

How are you? Sorry you are running into an issue like this. I’d love to see a snippet of the code you are writing though. I know sometimes people want to keep their code private so if you want to share it here or with me privately through a PM that is fine too and I can help get you through any blocks you are reaching.

---

<div class="post-metadata">

**Author:** ![dundonald](https://avatars.discourse-cdn.com/v4/letter/d/a9a28c/32.png) [@dundonald](https://community.smartthings.com/u/dundonald)\
**Post date:** [July 9, 2015, 1:22am UTC](https://community.smartthings.com/t/href-url-redirection-issue/18899/3 "2015-07-09T01:22:20Z")

</div>

I sent a message. I was going to send you a screen shot too, but I couldn’t and forgot to change the title of the message.

---

<div class="post-metadata">

**Author:** ![dundonald](https://avatars.discourse-cdn.com/v4/letter/d/a9a28c/32.png) [@dundonald](https://community.smartthings.com/u/dundonald)\
**Post date:** [July 16, 2015, 5:18am UTC](https://community.smartthings.com/t/href-url-redirection-issue/18899/4 "2015-07-16T05:18:15Z")

</div>

guys the method works on your phone. It just not working on the web IDE.
