**Bug description: Calling Events API gives ERR_ILLEGAL_C_IMPORT in the developer console output *
WASM: ERR_VALIDATION_ERROR (-4095 / fffff001)
WASM: Error ERR_ILLEGAL_C_IMPORT: env:fsEventsRegisterKeyEventHandler is not a whitelisted C import, nor a valid webassembly import.
WASM: Error ERR_ILLEGAL_C_IMPORT: env:fsEventsUnregisterKeyEventHandler is not a whitelisted C import, nor a valid webassembly import.
**Repro steps:Try to use the Events API in a WASM module @EPellissier
We couldn’t reproduce the bug on our end using 1.1.9 and the SDK Sample “WasmAircraft” (variation “Vars and Events”) which uses those functions.
Can you check if this sample works fine on your end?
This topic has been automatically closed after 60 days of inactivity since it was marked as fixed.
If there is important new information about this same report, you can use the “Request reopen” button below to ask the moderation team to review it again.
For other issues or broader discussion, please open a new topic in the appropriate category.