HTTP Error Code 500 using JSON compiled source URL(s)

This is my first attempt at Python and plex plugin development.

I have the API working correctly and I compiled my URL from the JSON data. When I paste the url into a browser the stream starts playing immediately.

when I attempt to pass that back to my ObjectContainer I get HTTP 500 error in the Plex Plugin and the following in the log.

DEBUG (services:618) - No matching services found for

This happens for three of the links in my dict and then I get the following.

  • The three links that says No matching service found for I paste them into chrome and it starts streaming so my URL works

2016-12-09 16:41:46,831 (2a30) : CRITICAL (core:574) - Exception when constructing response (most recent call last): File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-1bef33a\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 951, in construct_response el = result._to_xml() File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-1bef33a\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\objectkit.py", line 667, in _to_xml el = Framework.modelling.objects.ModelInterfaceObjectContainer._to_xml(self) File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-1bef33a\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\modelling\objects.py", line 382, in _to_xml root = Container._to_xml(self) File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-1bef33a\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\modelling\objects.py", line 139, in _to_xml self._append_children(root, self._objects) File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-1bef33a\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\modelling\objects.py", line 145, in _append_children el = obj._to_xml() File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-1bef33a\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\objectkit.py", line 580, in _to_xml if self._core.services.function_in_service_is_deferred(Framework.components.services.MEDIA_OBJECTS_FUNCTION_NAME, service): File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-1bef33a\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\services.py", line 557, in function_in_service_is_deferred service.sandbox.context.import_values(values) AttributeError: 'NoneType' object has no attribute 'sandbox'

I am using the following to add to my object container.

 page = get_link(3)
    for item in page:
        oc.add(VideoClipObject(
                url = item['url'],
                title = item['name'],
                summary = item['description'],
                thumb = item['thumb']
                ))

Been working on this all day and probably need to take a step back, but I thought I would at least post this to the community to see if anyone with more experience on plex development may be able to point out what I am missing.

Please disregard this post. I believe I answered my own question. I need to create a service for the URLs