Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on calling client.usage_limits #116

Open
bninopaul opened this issue Mar 1, 2021 · 0 comments
Open

Error on calling client.usage_limits #116

bninopaul opened this issue Mar 1, 2021 · 0 comments

Comments

@bninopaul
Copy link

bninopaul commented Mar 1, 2021

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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant