Is the AmigaDOS error message related to the longer wifi password?
Could you show the command which fails?
Could you try the same command in a shell window with the password cut off after 10 characters?
If your password contains space characters you might have to surround the whole thing with quotation marks.
If your password contains quotation marks you might have to escape them with an asterisk.