Anchor
IdlAccountNotEmpty
“IDL account must be empty in order to resize, try closing first”
IDL account must be empty in order to resize, try closing first.
Common causes
- Using
anchor idlcommands against a program built without IDL support or with the wrong program id.
How to fix it
- Build with the
idl-buildfeature and double check the program id passed to the IDL command.