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 believe there might have been a breaking change with the most recent update. I now only receive 403 Errors when trying to send API calls to our Canvas Beta server.
Notes:
1. I have generated a new API key and updated the system with this new key and client id, and receive the same 403 error.
2. I do not receive the error when running the same request using our same codebase on our test or prod instance of Canvas.
3. No updates have been made on our part that would cause a 403 error.
4. When using a browser to directly access the API (namely [BETA URL]/api/v1/users/[USER ID] I receive the appropriate response without issue.
Any ideas?
Solved! Go to Solution.
Try adding the user-agent header in the api call. I was also facing the same issue. After adding this header, it worked for me.
Please see the Enforcing User-Agent Header for Canvas API Request... - Instructure Community - 658205 blog for more information about this change where API calls will require a user-agent. It is currently in beta and scheduled to be put in production in January 2026.
-Chris
Try adding the user-agent header in the api call. I was also facing the same issue. After adding this header, it worked for me.
Please see the Enforcing User-Agent Header for Canvas API Request... - Instructure Community - 658205 blog for more information about this change where API calls will require a user-agent. It is currently in beta and scheduled to be put in production in January 2026.
-Chris
Thank you for this, @chriscas.
Your link to that blog post (in another section of the Community) is an/another example of how the Community has too many different areas to track.
While I have not been impacted by this, at least not that I can see, it would have been helpful if this had been posted in an area that more people follow.
-Doug
Thanks everyone. I have made the update and it works now.
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