Found out I was missing a / in the verify_credentials url. Fixed now.