Post

1 follower Follow
0
Avatar

Cannot authenticate - fatal error

Hi

this was working before. Now I cannot auth. I call it with:

 

$api = Podio::instance($client_id, $client_secret);

$api->authenticate('password', array('username' => $username, 'password' => $password));

 

I get:

Fatal error: Uncaught exception 'PodioInvalidGrantError' in /PodioAPI.php:238

Stack trace:

#0 /PodioAPI.php(143): Podio->request('POST', '/oauth/token', Array, Array)

#1 /script.php(6): Podio->authenticate('password', Array)

#2 {main}

  thrown in /PodioAPI.php on line 238

 

Please advise!

Thanks!

Kalin Sivov Answered

Please sign in to leave a comment.

3 comments

0
Avatar

Thanks Andreas! I caught wrong password err.

My bad - yesterday I changed my password and forgot to change it in script.

Thanks!

Kalin Sivov 0 votes
Comment actions Permalink