error while setting redis passwordusing r3c.cpp

trying to set password in for redis in using r3c but giving below exception…  

terminate called after throwing an instance of ‘r3c::CRedisException’
what(): [R3C_AUTH][/r3c/r3c.cpp:4763][10.11.22.22:7040] ERR invalid password