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!
Hi All!
We've been trying to use the Canvas Live API site to change some links within individual Canvas pages via the put option. Whenever we add the updated HTML code to the body field of the form, the output always excludes the updated href tags we've added. This leaves us with the classic blue text in Canvas, but with no link at all.
Is this a known issue with Canvas' API, or are we doing something wrong. We can post detailed screenshots as needed.
Thank you!
A couple of thoughts come to mind.
It's possible that the Canvas Live API is mangling the request somehow. It's designed for exploration, not really for serious work. Once you figure out how a request works, then you can use a REST API client (a lot of people like Postman) or your favorite programming language (all the popular languages support requests). If the request works there but not through the Live API, then I would suspect it's something the Live API is doing. I haven't used it in years because I moved past it.
A second thought is that there is an error in your HTML that is causing it to get stripped. The thing that comes to mind is that you're missing an opening or closing quotation symbol or tag. If the HTML is improperly formed, it might be getting sanitized, causing the anchor element to be removed or non-functional.
I'm sure there are other possibilities, but those are the two that come to mind. Without knowing exactly what you're sending, it's hard to tell. I would probably start with the HTML code itself and make sure it's valid.
Hi James,
Thanks for the insight! I'll take a look at Postman and see if that is the answer to my prayers.
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