Hi again @Anto 
Thank you for your quick response and for pointing me towards the âKitchen Sinkâ examples 
I think it would be an excellent addition to add the âexampleâ command in the CLI for easier discovery of these examples & for easier setup of the examplesđ .
Right now I think the only mention of these great examples is here in the docs? âŚand I havenât found documentation pages on each example (it would be helpful to provide a âwalk throughâ). The closest thing in the Docs is the awesome âDeveloping appsâ section (but itâs a bit disconnected from the examples).
I cloned the repo and experimented with almost all the examples.
At first it wasnât totally clear how to access/use the examples⌠before going in I had in my mind that the app.tsx would be a navigation landing page that provided some sort of menu with links to each example on child pages i.e. bundling everything into the one app, with each example is on a separate page with some introduction text explaining the example and any pre-conditions it may have (like selecting an image on the canvas first)âŚand a link to navigate back to the parent landing page.
Then I realized I had to copy + paste the files from within the /example/<example_name>/ folder into the /src/ folder (i.e. replacing app.tsx and index.tsx (and in some cases copy over /backend folder too âŚand maybe even a node_module or other supporting files) and then refresh the app.
This worked roughly 60% of the time
, and I really enjoyed all the examples that worked - they look REALY helpful. 
Examples of errors Iâve run into (some I figured out workarounds for ⌠like reload the app again⌠or make an edit to app.tsx and save it to force the file to reload - FYI I have HMR enabled)
Example 1:
'"])}while(1);</x>//{"statusCode":403,"error":"forbidden"}

Workaround: reload the app via âRefreshâ button in Canva
Example 2:
Compiled with problems:
ERROR in ./src/index.tsx 13:4-38
Module not found: Error: Canât resolve â./appâ in âC:\Users\cjacob\Documents\GitHub\canva-apps-sdk-starter-kit\srcâ
ERROR in ./src/index.tsx 4:0-28
Module not found: Error: Canât resolve â./appâ in âC:\Users\cjacob\Documents\GitHub\canva-apps-sdk-starter-kit\srcâ
Module not found: Error: Can't resolve './app' in 'C:\Users\cjacob\Documents\GitHub\canva-apps-sdk-starter-kit\src'
Workaround: Edit app.tsx file and save - causes the file to reload
Example 3:
Experienced in example: data_provider_basic
Uncaught runtime errors:
ERROR
[INTERNAL_ERROR]: No request handler configured for path: âDATA_PROVIDER_V1_REGISTER_SELECT_DATA_TABLE_HANDLERâ.
CanvaError: [INTERNAL_ERROR]: No request handler configured for path: âDATA_PROVIDER_V1_REGISTER_SELECT_DATA_TABLE_HANDLERâ.
at Kf.bh (https://static.canva.com/web/748e6498d340aaff.js:343:77)
at Jf.handler (https://static.canva.com/web/748e6498d340aaff.js:345:567)
at Jf.uh (https://static.canva.com/web/748e6498d340aaff.js:341:1344)
Workaround: âŚhavenât figured one out
Example 4:
Experienced in example: fetch
Something went wrong
To see the error, check the JavaScript Console.

C:\Users\cjacob\Documents\GitHub\canva-apps-sdk-starter-kit\node_modules\ts-node\src\index.ts:859
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
^
TSError: ⨯ Unable to compile TypeScript:
src/backend/server.ts:4:34 - error TS2307: Cannot find module ââŚ/âŚ/âŚ/utils/backend/base_backend/createâ or its corresponding type declarations.
4 import { createBaseServer } from ââŚ/âŚ/âŚ/utils/backend/base_backend/createâ;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/backend/server.ts:5:37 - error TS2307: Cannot find module ââŚ/âŚ/âŚ/utils/backend/jwt_middlewareâ or its corresponding type declarations.
5 import { createJwtMiddleware } from ââŚ/âŚ/âŚ/utils/backend/jwt_middlewareâ;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/backend/server.ts:56:32 - error TS2339: Property âcanvaâ does not exist on type âRequest<{}, any, any, ParsedQs, Record<string, any>>â.
56 console.log(ârequestâ, req.canva);
Workaround:
- In Command Prompt do CTRL + C to kill the batch process.
- Modify /src/backend/server.ts to changeâŚ
From:
import { createBaseServer } from "../../../utils/backend/base_backend/create";
import { createJwtMiddleware } from "../../../utils/backend/jwt_middleware";
To:
import { createBaseServer } from "../../utils/backend/base_backend/create";
import { createJwtMiddleware } from "../../utils/backend/jwt_middleware";
- Then restart everything again with
npm run start ⌠now the backend URL is available, the imports from utils are found, and the example works.
On a lighter note⌠I wanted to mention that getting âRickrolledâ in the example app_embeded_elements was a fun little easter egg
. It would be great to add similar humor to the other asset examples for images/audio/video to get a chuckle from devs exploring the API examples - spice it up a little with that signature Canva charm (âŚe.g. cat videos, fails, memes, jokes, confetti) 

