create procedure error
File "/procedure/prozorro_sale/procedure/errors.py", line 60, in request_errors_middleware
return await handler(request)
File "/procedure/prozorro_sale/procedure/auth.py", line 35, in token_middleware
return await handler(request)
File "/procedure/prozorro_sale/procedure/auth.py", line 45, in request_type_middleware
return await handler(request)
File "/procedure/prozorro_sale/procedure/auth.py", line 51, in request_context_middleware
return await handler(request)
File "/procedure/prozorro_sale/procedure/api.py", line 64, in create_procedure
procedure = models.create_procedure(data)
File "/procedure/prozorro_sale/procedure/models/models.py", line 480, in create_procedure
proc = procType(data, *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/schematics/models.py", line 94, in __init__
setattr(self, field, f_obj.validate(f_value, context))
File "/usr/local/lib/python3.7/site-packages/schematics/types/base.py", line 317, in validate
value = self.convert(value, context)
File "/usr/local/lib/python3.7/site-packages/schematics/types/compound.py", line 51, in convert
return self._convert(value, context)
File "/usr/local/lib/python3.7/site-packages/schematics/types/compound.py", line 160, in _convert
return model_class(value, context=context)
File "/usr/local/lib/python3.7/site-packages/schematics/models.py", line 94, in __init__
setattr(self, field, f_obj.validate(f_value, context))
File "/usr/local/lib/python3.7/site-packages/schematics/types/base.py", line 317, in validate
value = self.convert(value, context)
File "/usr/local/lib/python3.7/site-packages/schematics/types/compound.py", line 51, in convert
return self._convert(value, context)
File "/usr/local/lib/python3.7/site-packages/schematics/types/compound.py", line 160, in _convert
return model_class(value, context=context)
File "/usr/local/lib/python3.7/site-packages/schematics/models.py", line 94, in __init__
setattr(self, field, f_obj.validate(f_value, context))
File "/usr/local/lib/python3.7/site-packages/schematics/types/base.py", line 324, in validate
validator(value, context)
File "/usr/local/lib/python3.7/site-packages/schematics/types/base.py", line 1177, in validate_length
for locale, localized in value.items():
AttributeError: 'NoneType' object has no attribute 'items'
INFO:aiohttp.access:10.244.0.1 [20/Sep/2019:11:35:13 +0000] "POST /api/procedures HTTP/1.1" 500 212 "-" "PostmanRuntime/7.16.3"
Edited by Ghost User