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 currently playing around with the Canvas API and am curious if anybody could shed some light on this error that I am running across.
I first started using this through Canvas's Live API page and managed to store some custom data. (This stored the data in the root end point. Of which it said hello2 under my namespace of Testing)
For expediency I then decided I would login to Canvas and just try entering some commands into the URL, so I tried to update the testing namespace by entering:
https://instance.instructure.com/api/v1/users/self/custom_data?ns=testing&data=heyThereTo see if I could get the stored data to update, however this came back with the error
while(1);{"message":"no data for scope"}I am curious what may be causing this as my session is valid and as far as I can tell, so is my request.
Thanks all,
Tommy
Without addressing any issues that might be related to custom data, the big thing I see is that if you're entering it from a URL in the browser, it's a GET command (method) and you will need a PUT command (method) to store custom data.
Of course... my bad. Thank you
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