"Array ( [error_parameters] => Array ( ) [error_detail] => [error_propagate] =>.."
Starting out with podio API going no where fast.. <?php define("CLIENT_ID", "###"); define("CLIENT_SECRET", "####"); define("APP_ID", "###"); define("APP_TOKEN", "#####"); require_once 'podio/PodioAPI.php'; Podio::setup($client_id, $client_secret); if (!Podio::is_authenticated()) { try { Podio::authenticate_with_app($app_id, $app_token); } catch(PodioError $e) { die(print_r($e->body)); } } ?> Output: Array ( [error_parameters] => Array ( ) [error_detail] => [error_propagate] => [request] => Array ( [url] => http://api.podio.com/oauth/token [query_string] => [method] => POST ) [error_description] => Invalid value "" (string): must be integer [error] => invalid_value ) 1

  • Hi Germaine, $app_id, $app_token, $client_id and $client_secret are variables without values. You are defining constants at the top of your script, but later using variables that don't exist. /Andreas
This question is closed.