Do you only see the 0x1 error repeatedly? Have you used that API key-pair with another program that uses the Cex API? Does that API key-pair have full trading permissions?
I always get the 0x1 error
Have not used the API key-pair with another program
API key has all permissions