ForumsSearch
Search results for "Posted by K.Reger"
Author | Message |
---|---|
K.Reger |
Posted May 19, 2016 in: Always get '{"errorCode":1,"errorDesc":"No access_token given"}'
Score: 0
Thanky you very much.
The problem was the missing scope 'edit'. But the errormessage was a bit misleading .... |
K.Reger |
Posted May 18, 2016 in: Always get '{"errorCode":1,"errorDesc":"No access_token given"}'
Score: 0
This message was edited May 18, 2016. |
K.Reger |
Posted May 17, 2016 in: Always get '{"errorCode":1,"errorDesc":"No access_token given"}'
Score: 0
Sorry for being go annoying ...
I've been trying this also in many variations. But then I then get the result: { "errorCode": 2 "errorDesc": "Forbidden" "errors": [1] 0: { "status": "2" "message": "Forbidden" }- - } By the way I also tried this in the 'Advanced REST-Client'-Plugin for chrome-Browser. Same results. |
K.Reger |
Posted May 16, 2016 in: Always get '{"errorCode":1,"errorDesc":"No access_token given"}'
Score: 0
I am using Java, for an Android app. For the post request, I've used the Google-Volley-Library.
String toodledoFinishTaskURL = "http://api.toodledo.com/3/tasks/edit.php"; Map<String, String> params = new HashMap<>(); params.put("access_token", accessToken); params.put("tasks", encodedTask); RequestQueue queue = Volley.newRequestQueue(context); StringRequest postRequest = new StringRequest(Request.Method.POST, urlAsString, responseListener, new Response.ErrorListener() { @Override public void onErrorResponse(VolleyError error) { Log.d("Error.Response", error.toString()); } } ) { @Override protected Map<String, String> getParams() { return params; } }; queue.add(postRequest); The tasks-request looke like: [{"id":"453445983","modified":1463139789,"completed":1463139789,"reschedule":1}] or encoded: %5B%7B%22id%22%3A%22453445985%22%2C%22modified%22%3A1463140289%2C%22completed%22%3A1463140289%2C%22r eschedule%22%3A1%7D%5D |
K.Reger |
Posted May 16, 2016 in: Always get '{"errorCode":1,"errorDesc":"No access_token given"}'
Score: 0
Yes, getting Access-Token, Refresh-Token, and Tasks, everything works fine.
|
K.Reger |
Posted May 13, 2016 in: Always get '{"errorCode":1,"errorDesc":"No access_token given"}'
Score: 0
Hello,
when I try to edit a task, I always get the result: {"errorCode":1,"errorDesc":"No access_token given"} These are the request headers: POST /3/tasks/edit.php HTTP/1.1 HOST: api.toodledo.com tasks: [{%22id%22:%22449152731%22,%22reschedule%22:1,%22completed%22:1463153684,%22modified%22:1463153684}] access_token: 41b72b315c2e3b28c32974ab44293e183c20xxxx I tried different formats, for the tasks encoding, and access-tokens from my debugged app as wellas from the api playground. After many days of trying I am stuck here, and hope, anyone can help me. Regards, Klaus |
K.Reger |
Hello,
currently I am porting my app (PlanMyDay) to the V3 API. In the documentation I can read, that there is a new Client-ID, but not a completely new registration for my app needed. Maybe I am a little bit blind somehow, but I cannot find the place, where to get the client-id. Or do I understand something wrong, and the appsecret is something different as the client-id? Greetings Klaus |