Skip to content
This repository was archived by the owner on Nov 9, 2020. It is now read-only.
This repository was archived by the owner on Nov 9, 2020. It is now read-only.

create.py #1

Description

@somyamohanty

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": "jake.gaylor@ssrc.msstate.edu"}
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()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions