# URLConnection.ResponseHeader crashing apps on only Xojo Cloud

**URL:** <https://forum.xojo.com/t/urlconnection-responseheader-crashing-apps-on-only-xojo-cloud/50351>\
**Category:** Xojo Cloud\
**Created:** [September 23, 2019, 6:32pm UTC](https://forum.xojo.com/t/urlconnection-responseheader-crashing-apps-on-only-xojo-cloud/50351 "2019-09-23T18:32:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tom\_Iwaniec](https://forum.xojo.com/user_avatar/forum.xojo.com/tom_iwaniec/32/345_2.png) [@Tom\_Iwaniec](https://forum.xojo.com/u/Tom_Iwaniec)\
**Post date:** [September 23, 2019, 6:32pm UTC](https://forum.xojo.com/t/urlconnection-responseheader-crashing-apps-on-only-xojo-cloud/50351/1 "2019-09-23T18:32:08Z")

</div>

Have a test app that runs fine in debug on my machine, and fine on a third party server, but on Xojo Cloud the following line crashes the app without throwing any exceptions:

```auto
if theUrlConnection<>nil and theUrlConnection.ResponseHeader("Link") <> "" then
```

Doesn’t seem to be a way in URLConnection to check if the “Link” header exists, and I assume if doesn’t it’d just return a blank string. Why is this line flat out crashing the app on Xojo Cloud?

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [April 29, 2021, 4:05pm UTC](https://forum.xojo.com/t/urlconnection-responseheader-crashing-apps-on-only-xojo-cloud/50351/2 "2021-04-29T16:05:55Z")

</div>


