# Canva - Connection to Canva failed. Missing required tokens.

**URL:** https://community.mindstudio.ai/t/canva-connection-to-canva-failed-missing-required-tokens/1833
**Category:** Support
**Created:** [November 30, 2025, 12:28pm UTC](https://community.mindstudio.ai/t/canva-connection-to-canva-failed-missing-required-tokens/1833 "2025-11-30T12:28:25Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ramelton](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@ramelton](https://community.mindstudio.ai/u/ramelton)
#### Post date: [November 30, 2025, 12:28pm UTC](https://community.mindstudio.ai/t/canva-connection-to-canva-failed-missing-required-tokens/1833/1 "2025-11-30T12:28:25Z")

</div>

In Mindstudio integrations I’ve added the Client ID and Secret Key from Canva and I’m getting a connected to Canva successfully message.

When I try to run my agent it’s not connecting to Canva to run the OAuth flow test.

When I visit this URL it’s giving error tokens not valid [https://app.mindstudio.ai/integrations/oauth/redeem/canva](https://app.mindstudio.ai/integrations/oauth/redeem/canva)

**Connection to Canva failed. Missing required tokens.**

URL of my agent: [https://app.mindstudio.ai/agents/512a0e49-5593-4f28-8b36-a133b749c35d/edit](https://app.mindstudio.ai/agents/512a0e49-5593-4f28-8b36-a133b749c35d/edit)

 ![Screenshot 2025-11-30 at 12.22.48](https://canada1.discourse-cdn.com/flex008/uploads/mindstudio/original/2X/5/540ab3bf5d173bc3a8f06db17d6e0552a7528dfb.png)

---

<div class="post-metadata">

### Author: ![ramelton](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@ramelton](https://community.mindstudio.ai/u/ramelton)
#### Post date: [November 30, 2025, 2:17pm UTC](https://community.mindstudio.ai/t/canva-connection-to-canva-failed-missing-required-tokens/1833/2 "2025-11-30T14:17:53Z")

</div>

This is a follow-up to my original ticket regarding the Canva integration failure. I have performed extensive troubleshooting and believe the issue is internal to the platform’s handling of the PKCE flow.

The problem is isolated to the final **Token Exchange** step.

* * *

### **Troubleshooting Summary**

- **Credentials Check:** Client ID and Client Secret have been triple-checked and verified. Upon configuration save, the status briefly shows **“Connected to Canva successfully”**.

- **Redirect URI Check:** The Redirect URI is correctly registered in the Canva Developer Portal. The authorization step completes, and I am successfully redirected back to Mindstudio.

- **Persistent Error:** Despite the correct setup, the integration status remains **“Connection to Canva failed. Missing required tokens.”**

- **Test Flow Result:** After authorizing on Canva, I am redirected to the Mindstudio redeem URL with the error message: **“tokens not valid”**.

### **Technical Diagnosis**

This pattern of failure indicates that the flow works up to the point of redirection, but fails during the secure, server-to-server exchange of the authorization code for the final access token.

Given that this flow requires PKCE (Proof Key for Code Exchange):

- **Hypothesis:** The platform is failing to correctly utilize the temporary secret (`code_verifier`) that corresponds to the initial `code_challenge` sent to Canva.

- **Likely Cause:** The `code_verifier` is either not being generated, stored, or correctly included in the final API call to Canva’s token endpoint (`POST /api/oauth/token`).

 ![Screenshot 2025-11-30 at 14.11.01](https://canada1.discourse-cdn.com/flex008/uploads/mindstudio/original/2X/9/9087e2cfa80cdac08bf5c696e1a6bded3f5f9ab9.jpeg)

---

<div class="post-metadata">

### Author: ![Alex\_MindStudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/alex_mindstudio/32/27_2.png) [@Alex\_MindStudio](https://community.mindstudio.ai/u/Alex_MindStudio)
#### Post date: [December 2, 2025, 1:53pm UTC](https://community.mindstudio.ai/t/canva-connection-to-canva-failed-missing-required-tokens/1833/3 "2025-12-02T13:53:01Z")

</div>

Hi @ramelton,

Thanks for the post!

Please make sure the read and write scopes are enabled in Canva so your MindStudio Agent can use the connector:

 ![image](https://canada1.discourse-cdn.com/flex008/uploads/mindstudio/original/2X/a/aa63a52146e20e2b4473f579c34f074ba705fd53.png)

---

<div class="post-metadata">

### Author: ![ramelton](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@ramelton](https://community.mindstudio.ai/u/ramelton)
#### Post date: [December 4, 2025, 8:53am UTC](https://community.mindstudio.ai/t/canva-connection-to-canva-failed-missing-required-tokens/1833/4 "2025-12-04T08:53:24Z")

</div>

Hi Alex, I was able now to submit my App to Canva for review that was the problem. Canva scopes were not configured correctly, thank you.

---

<div class="post-metadata">

### Author: ![Alex\_MindStudio](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.mindstudio.ai/alex_mindstudio/32/27_2.png) [@Alex\_MindStudio](https://community.mindstudio.ai/u/Alex_MindStudio)
#### Post date: [December 4, 2025, 12:36pm UTC](https://community.mindstudio.ai/t/canva-connection-to-canva-failed-missing-required-tokens/1833/5 "2025-12-04T12:36:21Z")

</div>

Hi @ramelton,

Glad to hear it’s fixed!
