Hi @Viktor Lindstedt , this is expected behavior. The error is thrown because the input contains no valid elements. UserMessageIfInvalidPassword is if the password is incorrect. The linked page details more examples. Please let me know if you have any questions and I can help you further. If this answer helps you please mark "Accept Answer" so other users can reference it.
Thank you,
James