The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
I am able to call the schema endpoint, but I am getting a 404 error on the data endpoint
'https://api-gateway.instructure.com/dap/query/canvas/table/' + $splitValue + '/data'
The error is:
What are you using to make this call? And more importantly, what value does the variable $splitValue have?
The most likely scenario is that this value is null - which will generate a 404.
In that case, how are you generating the table names, and are you sure that they are all in the canvas namespace. If using variables like that, you should have the namespace as a variable rather than just coding "canvas", as if your schema query is traversing multiple namespaces (such as catalog or the web-logs) then you may have tables from other namespaces.
Hi All.
This discussion was opened on my behalf and the 404 error turned out to be due to the fact that to get the data you use a POST, vs using GET like you do with the schema endpoint. After switching the /data endpoint to POST, the 404 error was resolved. I apologize for the mixup, I should have read the Postman collection a little more slowly.
Thanks,
James
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in