Aimigo

Help

Troubleshooting

Symptoms, causes and fixes, in the order you are most likely to meet them.

Open the browser's developer tools (F12) first: the console shows the player's messages and the reason for most problems.

Nothing appears

CheckFix
typeof Aimigo in the console is "undefined"the script tag did not load: wrong address, blocked by an ad blocker, or by your Content Security Policy (script-src, see host page requirements)
console shows a CSP error with frame-srcallow the player host in frame-src
Aimigo.default is undefinedthe tag has data-auto="false", or your code runs before DOMContentLoaded
the frame exists but stays emptyfirst visit: the engine is still downloading (watch the network tab); otherwise see "never ready"
the page is plain http:// on a real domainuse https; the player's cache needs a secure context

dh.ready never resolves or rejects

SymptomCauseFix
rejects with a messagethe player could not start or the initial stage failedthe message names the cause, e.g. CharacterNotFound (wrong data-character)
hangs, older browserWebGL 2 is requiredupdate the browser; check chrome://gpu
hangs on a phonenot enough memoryclose other tabs; use a smaller frame

No sound

CauseFix
no user interaction yetcall speak from a click handler
speak({ audioUrl }) rejects with "Audio download failed"the audio URL is not readable by the page: same origin or Access-Control-Allow-Origin on the audio server; allow its origin in connect-src
Permissions-Policy: autoplay=() on your pageremove autoplay from that header
audio formatMP3 or WAV work everywhere; OGG not in Safari

Commands fail

ErrorMeaningFix
PermissionDeniedthe command is not released for userspermissions
CommandNotFoundunknown name or not visible for your roleaimigo.commands.search { query }
InvalidInputmissing or wrong fieldaimigo.commands.get { name } shows the schema
… timed outno answer within 30 swait for dh.ready before calling; pass a longer timeout as third argument of dh.call
the command answers started but nothing changesthe transition is still running or failed laterlisten for the event named in completionEvent and read data.errorCode
SymptomFix
await dh.contact is nullthe link has no id, the id is not in the _id column, or the page is not in allowedOrigins of your sheet link
greeting in the wrong languagecolumn Language: German greets in German, every other value in English
AI notes do not appear in the sheetthe sheet is not shared with the service account as Editor, or the tab is not named Data_for_Code

Slow on every site

The download is shared across sites only in Chrome and Edge with third-party cookies allowed (performance). The player's started message tells you what it got: storage: 'shared' or 'partitioned'.

Still stuck

Collect: the page address, the browser and version, the console output from the first Aimigo message on, and the result of Aimigo.version. Send it to Avataris support (contact on the imprint page).

This page as Markdown · llms.txt · All docs in one file