Troubleshooting
Common issues and their resolutions when configuring and using the Magento 2 Canva Connector.
1. [missing_permission]: Some required permissions were not set in app config: canva:design:content:write
Cause
Your Canva App in the Canva Developer Portal is missing required editor scopes.
Resolution
- Log in to the Canva Developer Portal.
- Open your Canva App (e.g.
Magento 2 Connect). - In the left navigation, click Scopes / Capabilities.
- Check both
canva:design:content:writeandcanva:design:content:read. - Click Save Changes.
- Refresh the Canva design editor.
2. OAuth Error: redirect_uri_mismatch
Cause
The Redirect URI registered in the Canva Developer Portal does not match the URL configured in Magento.
Resolution
- In Magento Admin, go to Stores > Configuration > Webkul > Canva Connect Settings.
- Copy the exact Redirect URI shown on screen (e.g.
https://your-domain.com/canva/auth/callback). - In the Canva Developer Portal, navigate to Integrations / Canva Connect APIs > Your Integration > Authentication.
- Ensure the Redirect URLs field contains this exact string, including protocol (
https://) and trailing path.
3. 404 Not Found on Return Navigation
Cause
The Return Navigation URL in Canva is either missing or improperly configured.
Resolution
- Verify that your Return Navigation URI in Canva Developer Portal is set to:
https://your-domain.com/canva/auth/return - Confirm Magento URL rewrites are active on your web server.
4. Frontend Service Fails to Load in Canva (Port / CORS Issues)
Cause
The Node development server is not running, running on an incorrect port, or blocked by browser mixed content.
Resolution
- Check that the frontend service is running:
cd /path/to/canva-app-frontend npm start - Verify that
http://localhost:8083is accessible in your browser. - In Canva Developer Portal, verify that the App Source > Development URL is set to
http://localhost:8083. - In Magento Admin, ensure Canva App Origin matches
https://app-<app-id>.canva-apps.com.
5. Corrupt or Missing .env Configuration
Cause
Permissions error on server filesystem or invalid path entered in Magento Admin.
Resolution
- Go to Stores > Configuration > Webkul > Canva Connect Settings > Canva App Frontend & API Configuration.
- Verify that Canva Frontend App Server Path is an absolute directory path that exists and is writable by the web server user (e.g.
www-data). - Click Save Config — Magento will validate the path and rewrite the
.envfile automatically.
