Turns out, I was not reading carefully. After adding the --profile profile1, the error changed to "access denied", which is something totally different.
I'm leaving the question though, because it might help someone see how to work with multiple profiles.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…