Forum Discussion
AustinK
6 years agoQrew Commander
The error is saying one of your variables is a NoneType. So one of them is not being populated as you expect it to be.
You have no other issues with the code? Do you know if you are able to authenticate fine?
I think I may have made a slight mistake and you may need to do this command instead, as there is no database being set. Assuming you used my exact code above without any changes. The "database" part just needs to be your table ID.
qbc.doquery(qid=1, database='your_database')
You have no other issues with the code? Do you know if you are able to authenticate fine?
I think I may have made a slight mistake and you may need to do this command instead, as there is no database being set. Assuming you used my exact code above without any changes. The "database" part just needs to be your table ID.
qbc.doquery(qid=1, database='your_database')
PushpakumarGnan
6 years agoQrew Member
Hi Austin,
I changed the code to the table_id and ran the script. Still i have the following error. Can you please help?
------------------------------
Pushpakumar Gnana
------------------------------
I changed the code to the table_id and ran the script. Still i have the following error. Can you please help?
>>> qbc.doquery(qid=1,database='bp7ejv2ma');
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/anaconda3/lib/python3.7/site-packages/pyqb/__init__.py", line 150, in doquery
res = self.__request('DoQuery', database, req)
File "/anaconda3/lib/python3.7/site-packages/pyqb/__init__.py", line 112, in __request
raise ResponseError('Received err #{0} : {1}'.format(errcode, errtext))
pyqb.ResponseError: Received err #83 : Invalid error code: 83
------------------------------
Pushpakumar Gnana
------------------------------