# XD exceptions details

**URL:** https://forums.creativeclouddeveloper.com/t/xd-exceptions-details/1198
**Category:** UXP Plugin API
**Tags:** javascript
**Created:** [August 27, 2019, 5:23pm UTC](https://forums.creativeclouddeveloper.com/t/xd-exceptions-details/1198 "2019-08-27T17:23:33Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![gdreyv](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/gdreyv/32/358_2.png) [@gdreyv](https://forums.creativeclouddeveloper.com/u/gdreyv)
#### Post date: [August 27, 2019, 5:23pm UTC](https://forums.creativeclouddeveloper.com/t/xd-exceptions-details/1198/1 "2019-08-27T17:23:33Z")

</div>

It looks like now XD throws exceptions of type “string”: `typeof(ex) === "string"`. Is there any way to get details for exception? E.g. I call createRenditions with array of 50 renditions and it throws `render.too_large` exception, how I can know which of them is too large and what are already processed?

---

<div class="post-metadata">

### Author: ![stevekwak](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/stevekwak/32/48_2.png) [@stevekwak](https://forums.creativeclouddeveloper.com/u/stevekwak)
#### Post date: [August 27, 2019, 5:36pm UTC](https://forums.creativeclouddeveloper.com/t/xd-exceptions-details/1198/2 "2019-08-27T17:36:43Z")

</div>

@schenglooi to confirm. But as far as I know (as you mentioned), the error message is a string, so you cannot get any further details.

---

<div class="post-metadata">

### Author: ![gdreyv](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/gdreyv/32/358_2.png) [@gdreyv](https://forums.creativeclouddeveloper.com/u/gdreyv)
#### Post date: [August 27, 2019, 5:38pm UTC](https://forums.creativeclouddeveloper.com/t/xd-exceptions-details/1198/3 "2019-08-27T17:38:42Z")

</div>

The problem is that the only thing we can do now is too say that something doesn’t work but we can’t provide any details or workarounds.

---

<div class="post-metadata">

### Author: ![stevekwak](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/stevekwak/32/48_2.png) [@stevekwak](https://forums.creativeclouddeveloper.com/u/stevekwak)
#### Post date: [August 27, 2019, 5:41pm UTC](https://forums.creativeclouddeveloper.com/t/xd-exceptions-details/1198/4 "2019-08-27T17:41:14Z")

</div>

Could you provide the xd file that resulted in this error?

---

<div class="post-metadata">

### Author: ![gdreyv](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/gdreyv/32/358_2.png) [@gdreyv](https://forums.creativeclouddeveloper.com/u/gdreyv)
#### Post date: [August 27, 2019, 5:49pm UTC](https://forums.creativeclouddeveloper.com/t/xd-exceptions-details/1198/5 "2019-08-27T17:49:03Z")

</div>

Just sent you sample document.

---

<div class="post-metadata">

### Author: ![stevekwak](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/stevekwak/32/48_2.png) [@stevekwak](https://forums.creativeclouddeveloper.com/u/stevekwak)
#### Post date: [August 27, 2019, 7:44pm UTC](https://forums.creativeclouddeveloper.com/t/xd-exceptions-details/1198/6 "2019-08-27T19:44:13Z")

</div>

I was able to replicate the error. All we can do at the moment would be letting the user know that “some of the selected items” are too large to create a rendition for. However, I do think it’s a super edge case since it’s very rare that a single rendition ends up being \>256mb.

@schenglooi to chime in - in case she has a workaround

---

<div class="post-metadata">

### Author: ![stevekwak](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/stevekwak/32/48_2.png) [@stevekwak](https://forums.creativeclouddeveloper.com/u/stevekwak)
#### Post date: [August 27, 2019, 8:13pm UTC](https://forums.creativeclouddeveloper.com/t/xd-exceptions-details/1198/7 "2019-08-27T20:13:16Z")

</div>

Susan suggested to use a lower scale factor
