I’m exploring the Http API example and one of the API calls throws an error when called via curl:
$ curl https://my-hello-world-app.anvil.app/_/api/tasks
An exception was raised. Check the application logs for details.%
So where are the application logs located in my dashboard for the app I have published and currently running? It’s possible this is a repeat question.
1 Like
Hello,
You can find the app logs by clicking the icon in the IDE.
3 Likes
Thanks didn’t see that one! Forgot I had even visited it. When I searched in the docs it didn’t lead me to it.
So hint to the maintainers to make keywords like App Logs or Applications logs point to this nice screenshot from @alcampopiano!
2 Likes
Works like a charm now:
$ curl https://my-hello-world-app.anvil.app/_/api/tasks
[{"done":"False","title":"Some task"},{"done":"True","title":"Some other task"}]%