FORGE_API_INVALID

CompileSeen in: The editor

What happened

FORGE_API is not a whole number Forge supports, is set more than once, is not written as a plain number, or is set inside a block instead of at the top of the file.

What to do

Write FORGE_API = 1 once, at the top level, near the top of the file.

Example

text
strategy.py, line 1: FORGE_API = 2 is not supported; supported: 1 [FORGE_API_INVALID]

The wording of the message depends on your file, and the code does not. An error stops the file from loading.

Ask about this in the forum