Got a ValidationError when calling PermissionProfile.objects.create(). This may be because request data satisfies serializer validations but not Mongoengine`s. You may need to check consistency between PermissionProfile and PermissionProfileSerializer. Original exception was: '' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string
Got a
ValidationError
when callingPermissionProfile.objects.create()
. This may be because request data satisfies serializer validations but not Mongoengine`s. You may need to check consistency between PermissionProfile and PermissionProfileSerializer. Original exception was: '' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string