What is the error?
Does it say anything about pub_keys?