Skip to main content
E0201: backend could not parse artifact

What happened

A registered hardware backend attempted to load a .thx artifact and failed. The artifact JSON could not be parsed or the backend could not resolve its structure into a runnable model.

Why

Possible causes:
  • The artifact was compiled for a different target (e.g. sim artifact passed to a hardware backend that requires target-specific fields)
  • The artifact is corrupt (see E0008, E0009)
  • The backend implements an older API that does not support the current artifact format version

How to fix

  1. Recompile with thx.compile(model, "model.thx"). The compiler accepts sim only.
  2. Verify the artifact is valid: thrindex doctor --check model.thx.

Example