You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the following error while I was trying to "get the list of Najva's account clients":
'authorization' : "Token %s" % token,
NameError: name 'token' is not defined
I called the following lines of code for "get the list of Najva's account clients" with my apiKey and token.
client = Najva()
client.apikey = "166a59c9-ab5e-4835-9637-fa1277436406"
client.token = "b32aefa32fd46b2b413990792be0bbc0391e45c3"
accounts_str = client.get_onesignal_accounts()
print(accounts_str)
Even I got a new token from my panel, but still I encounter the same error.
Thanks
The text was updated successfully, but these errors were encountered:
I got the following error while I was trying to "get the list of Najva's account clients":
'authorization' : "Token %s" % token,
NameError: name 'token' is not defined
I called the following lines of code for "get the list of Najva's account clients" with my apiKey and token.
client = Najva()
client.apikey = "166a59c9-ab5e-4835-9637-fa1277436406"
client.token = "b32aefa32fd46b2b413990792be0bbc0391e45c3"
accounts_str = client.get_onesignal_accounts()
print(accounts_str)
Even I got a new token from my panel, but still I encounter the same error.
Thanks
The text was updated successfully, but these errors were encountered: