Using Canvas Custom Data Endpoint

tbeaton88
Community Novice

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=heyThere‍

To 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

Labels (2)