Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner

response = get_response(request)


 "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 113, in _get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)


 "/usr/local/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view

return view_func(*args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/rest_framework/viewsets.py", line 116, in view

return self.dispatch(request, *args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 495, in dispatch

response = self.handle_exception(exc)


 "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 455, in handle_exception

self.raise_uncaught_exception(exc)


 "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 492, in dispatch

response = handler(request, *args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/rest_framework/mixins.py", line 20, in create

serializer.is_valid(raise_exception=True)


 "/usr/local/lib/python3.6/site-packages/rest_framework/serializers.py", line 236, in is_valid

self._validated_data = self.run_validation(self.initial_data)


 "/usr/local/lib/python3.6/site-packages/rest_framework/serializers.py", line 434, in run_validation

value = self.to_internal_value(data)


 "/usr/local/lib/python3.6/site-packages/rest_framework/serializers.py", line 488, in to_internal_value

validated_value = field.run_validation(primitive_value)


 "/usr/local/lib/python3.6/site-packages/rest_framework/fields.py", line 536, in run_validation

value = self.to_internal_value(data)


 "/opt/netbox/netbox/extras/api/customfields.py", line 27, in to_internal_value

for field_name, value in data.items():
AttributeError: 'str' object has no attribute 'items'

Traceback (most recent call last):


 "drcom_d_config.py", line 20, in <module>

offset = re.search('\xF0\x00\xF0\x00[\x00-\xFF]{4}[\x03\x07]\x01', text).start() + 8
AttributeError: 'NoneType' object has no attribute 'start'
