# Creating ObjectContainer Timeouts

**URL:** <https://forums.plex.tv/t/creating-objectcontainer-timeouts/175853>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [January 14, 2017, 10:43pm UTC](https://forums.plex.tv/t/creating-objectcontainer-timeouts/175853 "2017-01-14T22:43:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sophos84](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Sophos84](https://forums.plex.tv/u/Sophos84)\
**Post date:** [January 14, 2017, 10:43pm UTC](https://forums.plex.tv/t/creating-objectcontainer-timeouts/175853/1 "2017-01-14T22:43:00Z")

</div>

Hi,

are there any Timeouts in creating the ObjectContainers? I have a Plugin with a method (route) in wich Iam creating a lot of DirectoryObject objects. But, before the creating process Iam calling a other method (submethod). In this method Iam process a lot of requests from “themoviedb”. The creation of the DirectoryObjects are based on the requests. After a time Iam getting an error in the Channel view. In the Log of the plugin are no error to find. ☹

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [January 14, 2017, 10:46pm UTC](https://forums.plex.tv/t/creating-objectcontainer-timeouts/175853/2 "2017-01-14T22:46:57Z")

</div>

You’ll need threading here, as well as ask the user to refresh the UI

Take a peak at Plex2CSV  
(Check my signature)

/T

---

<div class="post-metadata">

**Author:** ![Sophos84](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Sophos84](https://forums.plex.tv/u/Sophos84)\
**Post date:** [January 14, 2017, 10:50pm UTC](https://forums.plex.tv/t/creating-objectcontainer-timeouts/175853/3 "2017-01-14T22:50:22Z")

</div>

Thank you again 🙂

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 8, 2020, 8:01pm UTC](https://forums.plex.tv/t/creating-objectcontainer-timeouts/175853/4 "2020-01-08T20:01:36Z")

</div>


