0
votes

Hello Everyone and Podio Development team, I have some issues in podio since few days, I integrate podio in client project and project is in PHP Codeigniter, The podio API's were working before perfectly, but now there are some issues i am getting error The path '/item/basic' was not found.." Request URL: http://api.podio.com/item/basic

Although to verify code, I already checked old codes which was also integrated in podio and they are also not working now since few days. I checked podio website for Podio Items: Get item basic https://developers.podio.com/doc/items/get-basic-item-61768 this is deprecated but no alternatives are provided and I am getting error regarding this.

When i comment code of podio and website works but when i uncomment code of podio and run it it shows error since few days, I have tried all steps and cross check in case code mistake there is no mistake as same code was working before, old codes also i checked which worked before not worked now. Kindly help me thank you. Attaching screenshots

Fatal error: Uncaught PodioNotFoundError: "No matching operation could be found. The path '/item/basic' was not found.." Request URL: http://api.podio.com/item/basic Stack Trace: #0 /home/username/public_html/podio-php-4.3.0/lib/Podio.php(351): Podio::request('GET', '/item//basic', Array, Array) #1 /home/username/public_html/podio-php-4.3.0/models/PodioItem.php(120): Podio::get('/item//basic', Array) #2 /home/username/public_html/st_application/controllers/user.php(1459): PodioItem::get_basic(NULL) #3 /home/username/public_html/st_application/controllers/user.php(901): User->podioPropertyCreate(336, Array, Array, Array, Array, '3 Females, 1 Ma...', 'uploads/files/', Array, 'jahanzeb@gmail....') #4 [internal function]: User->add_property('add') #5 /home/username/public_html/st_system/core/CodeIgniter.php(360): call_user_func_array(Array, Array) #6 /home/username/public_html/index.php(202): require_once('/home /username...') #7 {main} thrown in /home/username/public_html/podio-php-4.3.0/lib/Podio.php on line 324

This is the issue image:
This is the issue image

1
Looking at the doc, the API endpoint is /item/{item-id}/basic - user1334621
the problem is i am passing client id, secret id etc. so i am not calling specifically url, it is calling through podio client which i put in my project folder - talha ghaffar
One more thing, it was working few days ago same code same everything, now it is not working, i have 3 4 codes as you know we develop new features of websites every day so all backups also not working since few days - talha ghaffar
Can you help me with this @MagnusEriksson - talha ghaffar
Honestly, if they have an API that used to work and just stopped without you changing anything, you should contact their support directly. SO isn't meant as a general helpdesk/support forum for off-site/third party services. If you're having some programming issues with your code, we're here to help you. - M. Eriksson

1 Answers

1
votes

You are not passing the item_id with the API call.

enter image description here

For PodioItem::get_basic API call, the item_id parameter (first parameter) is required one.

Also, please note that this get_basic operation is deprecated and will be removed soon.

Please use Podio Get Item API instead.