Open
Description
Hey team, this is frustrating. please help me fix this issue, the role ha full access.
import messagebird
api_key = 'YVBbo*************************************COl'
client = messagebird.Client(api_key)
balance = client.balance()
print("Balance:", balance)
Error:
Traceback (most recent call last):
File "C:\Users\khomo\Developer\projects\neighbor_watch\testing.py", line 6, in <module>
balance = client.balance()
File "C:\Users\khomo\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\messagebird\client.py", line 130, in balance
return Balance().load(self.request('balance'))
File "C:\Users\khomo\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\messagebird\client.py", line 94, in request
raise (ErrorException([Error().load(e) for e in response_json['errors']]))
messagebird.client.ErrorException: {'code': 2, 'description': 'Request not allowed (incorrect access_key)', 'parameter': 'access_key'}
Metadata
Metadata
Assignees
Labels
No labels