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
{{ message }}
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.
Check parameters, URL and authentication. (HTTP Error 400: Bad Request)
HTTP Error 400: Bad Request
Traceback (most recent call last):
File "./create_job.py", line 26, in
CreatJob()()
File "./create_job.py", line 22, in call
print str(self.gnipHistorical.createJob())
File "/Users/som/Downloads/Gnip-Python-Historical-Utilities-master/src/gnip_historical.py", line 327, in repr
res = ''(8+len(self.title)) + '\n'
TypeError: object of type 'NoneType' has no len()
The text was updated successfully, but these errors were encountered:
One change you need and one thing to check... Your serviceUserName should be your twitter id rather than your email address. And you should check to make sure the configured url in the ".gnip" file created by the setup routine matches the one you were given when you setup your account with Gnip.
Http error: 400 bad request.
Here is the sample output
CREATING JOB: (Social Data Phenoms)
PARAMETERS:
{"publisher": "twitter", "title": "BieberJob1", "rules": [{"tag": "bestRuleEver", "value": "bieber"}], "streamType": "track", "dataFormat": "activity-streams", "fromDate": "201201010000", "toDate": "201201010001", "serviceUsername": "[email protected]"}
RESPONSE:
Check parameters, URL and authentication. (HTTP Error 400: Bad Request)
HTTP Error 400: Bad Request
Check parameters, URL and authentication. (HTTP Error 400: Bad Request)
HTTP Error 400: Bad Request
Traceback (most recent call last):
File "./create_job.py", line 26, in
CreatJob()()
File "./create_job.py", line 22, in call
print str(self.gnipHistorical.createJob())
File "/Users/som/Downloads/Gnip-Python-Historical-Utilities-master/src/gnip_historical.py", line 327, in repr
res = ''(8+len(self.title)) + '\n'
TypeError: object of type 'NoneType' has no len()
The text was updated successfully, but these errors were encountered: