"nth not supported on this type: Keyword" Error from Testing API Gateway


#1

Followed Tiago’s video (excellent btw), and datomic ion docs. Everything looks awesome until I test the API Gateway, where I continue to get the following error:

nth not supported on this type: Keyword

Coming from the function? Any hint is much appreciated. Thanks in advance.

Also, in testing, why he gave “datomic” token?


#2

Hi @hkrishnan2005, what are you running to hit your API token? Our docs use the datomic token as a stand-in to indicate that you can hit any token.

https://docs.datomic.com/cloud/ions/ions-tutorial.html#sec-5-4

curl https://$(obfuscated-name).execute-api.us-east-1.amazonaws.com/dev/datomic -d :hat