Traceback (most recent call last):


 "/usr/lib/python2.7/dist-packages/salt/utils/templates.py", line 389, in render_jinja_tmpl

output = template.render(**decoded_context)


 "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 989, in render

return self.environment.handle_exception(exc_info, True)


 "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 754, in handle_exception

reraise(exc_type, exc_value, tb)


 "<template>", line 1, in top-level template code


 "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 1033, in make_module

return TemplateModule(self, self.new_context(vars, shared, locals))


 "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 1090, in __init__

self._body_stream = list(template.root_render_func(context))


 "/var/cache/salt/minion/files/base/sensu/maps/sensu_client_config.j2", line 1, in top-level template code

{% set sensu_client_config = salt['grains.filter_by']({


 "/usr/lib/python2.7/dist-packages/salt/modules/network.py", line 1714, in get_route

'gateway': m.group('gateway'),
AttributeError: 'NoneType' object has no attribute 'group'

Traceback (most recent call last):


 "/srv/myapp-dev/lib/python3.7/site-packages/django/core/handlers/exception.py", line 47, in inner

response = get_response(request)


 "/srv/myapp-dev/lib/python3.7/site-packages/django/core/handlers/base.py", line 179, in _get_response

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


 "/srv/myapp-dev/lib/python3.7/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view

return view_func(*args, **kwargs)


 "/srv/myapp-dev/lib/python3.7/site-packages/rest_framework/viewsets.py", line 125, in view

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


 "/srv/myapp-dev/lib/python3.7/site-packages/rest_framework/views.py", line 509, in dispatch

response = self.handle_exception(exc)


 "/srv/myapp-dev/lib/python3.7/site-packages/rest_framework/views.py", line 469, in handle_exception

self.raise_uncaught_exception(exc)


 "/srv/myapp-dev/lib/python3.7/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception

raise exc


 "/srv/myapp-dev/lib/python3.7/site-packages/rest_framework/views.py", line 506, in dispatch

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


 "/srv/myapp-dev/lib/python3.7/site-packages/rest_framework/mixins.py", line 19, in create

self.perform_create(serializer)


 "/srv/myapp-dev/app/app/apis.py", line 597, in perform_create

items = self.request.data.getlist('items', [])
AttributeError: 'dict' object has no attribute 'getlist'
