Traceback (most recent call last):
for policy in retention. Policies():
^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\pyPreservica\retentionAPI.py", line 412, in policies
result.add(self.policy(reference=ref))
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\pyPreservica\retentionAPI.py", line 99, in policy
f'.//{{{self.rm_ns}}}RetentionPolicy/{{{self.rm_ns}}}ExpiryAction').text
^^^^
AttributeError: 'NoneType' object has no attribute 'text'
Hey, I'm getting an error using the API.
This also appeared when creating a new policy.