Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Diagnostic code · ARA0500

API outside module allowlist

A framework API is outside the module profile's allowlist. The diagnostic identifies the API and profile; compilation is rejected and the last good code keeps running. Agent ara_run scripts have a separate check reported as ARA0961.

Common causes

  • Gameplay code calls a framework type or member outside the permitted core runtime and Ara APIs.
  • Editor tooling is compiled under the default gameplay profile.

Fixes

  • Replace the reported API with an Ara API or an allowed collection, math or text API.

  • Move genuinely editor-only functionality into a separate module with profile = "editor" in ara.module.toml; keep gameplay in its gameplay module.

  • Code: ARA0500

  • Constant: cs::API_NOT_ALLOWED

  • Reported by: Ara.Analyzers