Error at makeError while awaiting getDict
I want to access a dictionary from my max patch in a JavaScript. However, whenever I try to access a dictionary objects using getDict, following error occurs:

Following minimal script can be used to attempt reproduction of my issue:
const maxApi = require('max-api');
async function f() {
await maxApi.getDict(<Your dictionary name here>);
}
f()(System: Mac, OS 14.6.1, Max 9.1.2)
Thanks for your help in advance, greatly appreciated!
Hi Otger,
not 100% sure where the error might stem from without greater context. But here is a simple example that seems to be working fine here for me.
Max Patch
Copy patch and select New From Clipboard in Max.