Errors and troubleshooting
What each error means and how to recover from it.
On this page
Errors#
Every failure is an exception (RpaError or a subclass). Match on e.reason, a stable code, not on the message: engine messages are currently in Turkish. e.cmd is the command that failed and e.data the raw reply.
| Class | reason | Meaning · what to do |
|---|---|---|
RpaTimeout | zaman_asimi | the element did not appear, or the page did not finish loading, in time. Raise the timeout or check the selector. |
ElementNotFound | element_bulunamadi, iframe_bulunamadi | no match. Inspect the page with kryptix_pick() or kryptix_text(). |
ElementNotVisible | element_gorunmuyor | the element exists but is hidden, or still outside the viewport after scrolling (collapsed menu, display:none, covered by an overlay). |
EngineDisconnected | baglanti_yok, baglanti_koptu, open_failed | the browser closed or crashed, was not opened in RPA mode, or the engine did not connect within 30 s (PRO plan?). |
RpaError | no_page | no current page: call kryptix_open() first, or pass page=. |
RpaError | gecersiz_parametre, secici_gecersiz | bad value (unknown key name, invalid URL, middle button) or a selector that cannot be converted. |
RpaError | render_koptu | the page's renderer died (page crash). kryptix_reload() or open a new tab. |
RpaError | secenek_yok, dosya_yok, sekme_yok, son_sekme | no such option / the file path does not exist / no such tab / the last tab cannot be closed. |
RpaError | unauthorized | the API key is missing or wrong (Settings → Local API). |
RpaError | manager_unreachable | Kryptix is not running, or the port is wrong. |
RpaError | ambiguous_profile | several profiles share that name: use the id. |
from kryptix_rpa import * try: kryptix_click("text=Accept all", timeout=3) # optional banner except (RpaTimeout, ElementNotFound): pass
import { kryptix_click, RpaTimeout, ElementNotFound } from "./kryptix_rpa.mjs"; try { await kryptix_click("text=Accept all", { timeout: 3 }); // optional banner } catch (e) { if (!(e instanceof RpaTimeout || e instanceof ElementNotFound)) throw e; }
Troubleshooting#
manager_unreachable
Start Kryptix, or fix KRYPTIX_API / kryptix_connect(api=…) (the port is in Settings).
unauthorized
You set an API key under Settings → Local API: pass it with kryptix_connect(api_key=…) or KRYPTIX_API_KEY.
kryptix_open fails after about 30 seconds
The engine did not connect: not a PRO plan, a browser build without the RPA engine, or the profile crashed on start. Check that the profile opens normally from Kryptix first.
“not visible” on something you can see
It may be covered, inside an inner scroll box, or in an iframe: use kryptix_frame(…), or scroll the box with kryptix_mouse_move(x, y) then kryptix_scroll(dy) (the wheel goes to whatever is under the cursor).
Wrong characters are typed
The keyboard layout comes from the profile's language. Set it yourself with kryptix_behavior(kbdLayout="tr") (or "us"), especially after kryptix_attach.
A command hangs
Commands are serialized per profile: two threads sending to the same profile queue up. Use one thread per profile.
render_koptu
The page crashed; kryptix_reload().