Fatal error: Uncaught exception 'PodioBadRequestError' in /Applications/XAMPP/xamppfiles/htdocs/podio-podio-php/PodioAPI.php:241 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/podio-podio-php/PodioAPI.php(143): Podio->request('POST', '/oauth/token', Array, Array) #1 /Applications/XAMPP/xamppfiles/htdocs/podio-podio-php/PodioAPI.php(249): Podio->authenticate('refresh_token', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/podio-podio-php/PodioAPI.php(301): Podio->request('GET', '/item/app/11171...', Array) #3 /Applications/XAMPP/xamppfiles/htdocs/podio-podio-php/areas/PodioItem.php(153): Podio->get('/item/app/11171...', Array) #4 /Applications/XAMPP/xamppfiles/htdocs/scrumboard/index.php(25): PodioItem->getItems(1117175, Array) #5 [internal function]: scrumboard() #6 /Applications/XAMPP/xamppfiles/htdocs/scrumboard/vendor/limonade.php(424): call_user_func_array('scrumboard', Array) #7 /Applications/XAMPP/xamppfiles/htdocs/scrumboard/index.php(115): run() #8 {main} thrown in /Applications/XAMPP/xamppfiles/htdocs/podio-podio-php/PodioAPI.php on line 241
Here is my latest error messages. I think that I am filling in config.php wrong, but I am very unclear as to what to put where.
There was an error. The API responded with the error type invalid_value and the message Invalid value u'': Must not be empty (at property 'values': at position 0). The URL was /item/app/1117174/v2/?limit=200&sort_by=title&sort_desc=0&sprint=
Also, perhaps a very n00b question, but what values do I put in these sections:
define('STORY_SPRINT_ID', "sprint");define('STORY_OWNER', "product-owner");define('STORY_IMPORTANCE_ID', null);
On Friday, 22 June 2012 13:42:14 UTC+12, Brook Warner wrote:
Hey there.I was using the lastest build but ive just pulled your last commit. The error message is still the same...
Fatal error: Uncaught exception 'PodioBadRequestError' in /Applications/XAMPP/xamppfiles/htdocs/podio-podio-php/PodioAPI.php:241 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/podio-podio-php/PodioAPI.php(143): Podio->request('POST', '/oauth/token', Array, Array) #1 /Applications/XAMPP/xamppfiles/htdocs/podio-podio-php/PodioAPI.php(249): Podio->authenticate('refresh_token', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/podio-podio-php/PodioAPI.php(301): Podio->request('GET', '/item/app/11171...', Array) #3 /Applications/XAMPP/xamppfiles/htdocs/podio-podio-php/areas/PodioItem.php(153): Podio->get('/item/app/11171...', Array) #4 /Applications/XAMPP/xamppfiles/htdocs/scrumboard/index.php(25): PodioItem->getItems(1117175, Array) #5 [internal function]: scrumboard() #6 /Applications/XAMPP/xamppfiles/htdocs/scrumboard/vendor/limonade.php(424): call_user_func_array('scrumboard', Array) #7 /Applications/XAMPP/xamppfiles/htdocs/scrumboard/index.php(115): run() #8 {main} thrown in /Applications/XAMPP/xamppfiles/htdocs/podio-podio-php/PodioAPI.php on line 241
I'm learning, so I don't know what Stack Trace means....Brook Warner
There was an error. The API responded with the error type invalid_client and the message Invalid auth, only basic supported
'
Here is my config.php
define('CLIENT', '/Applications/XAMPP/xamppfiles/htdocs/podio-php/PodioAPI.php');
define('CLIENT_ID', '*****');
define('CLIENT_SECRET', '******');
define('1117175', null); //'SPRINT_APP_ID',
define('8247475', "state");//'SPRINT_STATE_ID',
define('1117174', null);//'STORY_APP_ID',
define('8247473', "sprints");//'STORY_SPRINT_ID',
define('8247474', "owner");//'STORY_OWNER',
define('', null);//'STORY_IMPORTANCE_ID',
define('8247481', "quests");//'ITEM_TITLE_ID',
define('1117176', null);//'ITEM_APP_ID',
define('8247482', "story");//'ITEM_STORY_ID',
define('8247485', "state");//'ITEM_STATE_ID',
define('8247483', "estimate");//'ITEM_ESTIMATE_ID',
define('8247484', "time-remaining");//'ITEM_TIMELEFT_ID',
define('8247486', "product-owner");//'ITEM_RESPONSIBLE_ID',
define('STATE_DEV_DONE', 'Development done');
define('STATE_QA_DONE', 'QA done');
define('STATE_PO_DONE', 'PO done');
define('STATE_NOT_STARTED', 'Not started');
There was an error. The API responded with the error type invalid_client and the message Invalid auth, only basic supported