Error on calling client.usage_limits
bninopaul opened this issue · 0 comments
bninopaul commented
I am getting this error when calling client.usage_limits
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-4-99b56d0c4e75> in <module>
----> 1 client.usage_limits
~/projects_backup/env/lib/python3.7/site-packages/hubspot3/__init__.py in usage_limits(self)
369 current_usage=int(limits["currentUsage"]),
370 fetch_status=limits["fetchStatus"],
--> 371 resets_at=datetime.fromtimestamp(int(limits["resetsAt"]) / 1000),
372 usage_limit=limits["usageLimit"],
373 )
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'