# AQL errors in "-c" and "-o json" mode (TOOLS-245)

**URL:** <https://discuss.aerospike.com/t/aql-errors-in-c-and-o-json-mode-tools-245/471>\
**Category:** Delivered Requests\
**Created:** [October 27, 2014, 6:13pm UTC](https://discuss.aerospike.com/t/aql-errors-in-c-and-o-json-mode-tools-245/471 "2014-10-27T18:13:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vovagp](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/vovagp/32/73_2.png) [@vovagp](https://discuss.aerospike.com/u/vovagp)\
**Post date:** [October 27, 2014, 6:13pm UTC](https://discuss.aerospike.com/t/aql-errors-in-c-and-o-json-mode-tools-245/471/1 "2014-10-27T18:13:03Z")

</div>

Bad (now): root@deb764:/tmp# aql -c ‘create index some on some1 (some2) numeric’ -o json Error: (501) Namespace Not Found

Good (example): root@deb764:/tmp# aql -c ‘create index some on some1 (some2) numeric’ -o json { “error”:true, “code”:501, “message”:“Namespace Not Found” } OK

---

<div class="post-metadata">

**Author:** ![kporter](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/kporter/32/515_2.png) [@kporter](https://discuss.aerospike.com/u/kporter)\
**Post date:** [October 27, 2014, 8:44pm UTC](https://discuss.aerospike.com/t/aql-errors-in-c-and-o-json-mode-tools-245/471/2 "2014-10-27T20:44:53Z")

</div>

Thanks for the request, I have opened a ticket internally to address this issue.

---

<div class="post-metadata">

**Author:** ![kporter](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/kporter/32/515_2.png) [@kporter](https://discuss.aerospike.com/u/kporter)\
**Post date:** [May 24, 2021, 6:58pm UTC](https://discuss.aerospike.com/t/aql-errors-in-c-and-o-json-mode-tools-245/471/3 "2021-05-24T18:58:26Z")

</div>

This issue was resolved with the [3.15.0.3](https://download.aerospike.com/download/tools/notes.html#3.15.0.3) release of the tools package.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/system/32/2274_2.png) [@system](https://discuss.aerospike.com/u/system)\
**Post date:** [August 16, 2021, 6:58pm UTC](https://discuss.aerospike.com/t/aql-errors-in-c-and-o-json-mode-tools-245/471/4 "2021-08-16T18:58:49Z")

</div>

This topic was automatically closed 84 days after the last reply. New replies are no longer allowed.
