ForumsDevelopersIssue when adding multiple lists

Issue when adding multiple lists
Author Message

Posted: Mar 22, 2018
Score: 0 Reference
It appears that endpoint 3/lists/add.php is responding with invalid json (missing array delimiter) when adding more than one list per call.

Example:[{%22title%22:%22Item%201%22,%22ref% 22:%22b151d339-6e9f-4952-b4e3-8170520d37c0%22},{%22title%22:%22Item%202%22,%22ref%22:%22a360c26f-e7b 6-4008-b88b-31d3eb788e07%22}]

[{"id":"5ab438dc190ba07b2252ba3d","added":1521760476,"modified":1521760476,"title":"Item 1","version":1,"ref":"b151d339-6e9f-4952-b4e3-8170520d37c0","note":null,"keywords":null,"rows":0,"co ls":[{"id":1,"title":"Title","type":19,"sort":1,"width":100}]}{"id":"5ab438dc190ba07b2252ba3e","adde d":1521760476,"modified":1521760476,"title":"Item 2","version":1,"ref":"a360c26f-e7b6-4008-b88b-31d3eb788e07","note":null,"keywords":null,"rows":0,"co ls":[{"id":1,"title":"Title","type":19,"sort":1,"width":100}]}]

which has the following problem:
SyntaxError: JSON.parse: expected ',' or ']' after array element at line 1 column 252 of the JSON data

Toodledo Founder
Posted: Mar 23, 2018
Score: 0 Reference
Yep, you are correct. It should be fixed now. Please let me know if you still have trouble with it.
You cannot reply yet

U Back to topic home

R Post a reply

To participate in these forums, you must be signed in.