Error "EISDIR: illegal operation on a directory, read" on import of !Password PIF

I try to import my 1Password information:

bw import 1password1pif "1Password 2023-09-26, 02_36 pm (1185 items and 0 folders).1pif"

but I get the Error “EISDIR: illegal operation on a directory, read”.

What to do?