1

I have been using the API with no problems for a long time. All of a sudden I'm getting this error:

PHP Fatal error: Uncaught PodioError 
Request URL:

Stack Trace: 
#0 /srv/users/serverpilot/apps/dellentconsulting/public/vendor/podio/lib/Podio.php(93): Podio::request('POST', '/oauth/token', Array, Array) 
#1 /srv/users/serverpilot/apps/dellentconsulting/public/pages/careers.php(97): Podio::authenticate('app', Array) 
#2 /srv/users/serverpilot/apps/dellentconsulting/public/index.php(58): include('/srv/users/serv...') 
#3 {main} 
thrown in /srv/users/serverpilot/apps/dellentconsulting/public/vendor/podio/lib/Podio.php on line 283

I didn't make any changes in my code, or applications key.

The error occurs in this code fragment:

<?php 

    require_once 'vendor/podio/PodioAPI.php'; 
    require_once 'vendor/podio/utils/config-careers.php'; 
    Podio::setup(CLIENT_ID, CLIENT_SECRET); 
    if (!Podio::is_authenticated()) { 
    Podio::authenticate('app', array('app_id' => APP_ID, 'app_token' => APP_TOKEN)); 

}

I already made a restart to the server.

Cœur
  • 37,241
  • 25
  • 195
  • 267

1 Answers1

-1

Bit of a wild guess, but could it be a network issue, did you check that you can reach Podio API from the server all the time?

HooHoo
  • 1
  • 2