maproulette-backend icon indicating copy to clipboard operation
maproulette-backend copied to clipboard

[Bug] /tasks/find endpoint returning 500 error

Open danielduhh opened this issue 4 years ago • 0 comments

The /tasks/find endpoint returns a 500 "Internal Server Error" when the onlyEnabled param is explicitly set to true, or not set at all (the default is true)

https://maproulette.org/api/v2/tasks/find?parentId=13527&limit=10&page=0&onlyEnabled=true

{"status":"KO","message":"ERROR: column \"enabled\" does not exist\n  Position: 265"}

Related question: Does the parentId param accept multiple ids? I'm looking if theres a way to fetch all the tasks for multiple challenges in a single request?

danielduhh avatar Oct 05 '20 20:10 danielduhh