Original message (verbatim)
'Invalid File type: ' + this.type
Placeholders such as %s / %d are kept verbatim from the engine source and are not replaced with concrete values.
Trigger
When the Loader registers a file, its type is not in the known file type set (a misspelled type in a hand-written file config, or an unregistered plugin type), and the loader throws.
Typical cause
The File constructor validates type; an invalid type cannot map to a loader processor, so it throws an Error during construction.
Step-by-step fix
- Check the type spelling in the load config against the official file type list.
- Confirm the plugin or file-type module that provides that type is registered in the scene.
- Load the asset with a built-in type such as image, audio, or text instead.
Source links
Per-entry sources and capture date are listed at /sources#P30.
Related errors
Related Phaser errors
Need an offline quick-reference checklist?
Atlas error library Pro pack: 123 error references (110 single + 13 merged) plus a quick-fix guide, $19 one-time purchase, delivered as electronic files.
Back to the all-errors index Checkout and buy the Pro pack — $19.00