I have searched on the web for over two days now, and probably have looked through most of the online documented scenarios and workarounds, but nothing worked for me so far.
This error seems to occur mostly if there is a space before or after your secret key