Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

Need Help: Create a task and get u'{"error":"bad_request"}' #133

Open
Khosroanjam opened this issue Dec 23, 2017 · 2 comments
Open

Need Help: Create a task and get u'{"error":"bad_request"}' #133

Khosroanjam opened this issue Dec 23, 2017 · 2 comments

Comments

@Khosroanjam
Copy link

Khosroanjam commented Dec 23, 2017

hi guys, i want post a request for create a task it's my code
access_token="MY TOKEN"

client_ID= "My CID"

h= {'X-Access-Token': access_token, 'Content-Type': 'application/json', 'X-Client-ID': client_ID}

da = {'title': 'TEST APP', 'list_id': -330478059}

r=requests.post("https://a.wunderlist.com/api/v1/tasks", headers=h, data=json.dumps(da))

but i get "bad request"

why ?
please help me ! thank you

@fucusy
Copy link

fucusy commented Jan 8, 2018

is your list_id wrong?

@Khosroanjam
Copy link
Author

no it work after i reset my system ! ## why ?# i don't know !

thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants