-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid Item #139
Comments
Is that backslash in the |
I resolve my first erro, but i receveive this erro now: Fatal error: Uncaught PodioBadRequestError: "O item referenciado não é válido" Request URL: http://api.podio.com/item/app/18730870/ Stack Trace: #0 /var/www/html/guro/vendor/podio/podio-php/lib/Podio.php(352): Podio::request('POST', '/item/app/18730...', Array, Array) #1 /var/www/html/guro/vendor/podio/podio-php/models/PodioItem.php(167): Podio::post('/item/app/18730...', Array) #2 /var/www/html/guro/vendor/podio/podio-php/models/PodioItem.php(71): PodioItem::create(18730870, Array, Array) #3 /var/www/html/guro/index.php(41): PodioItem->save() #4 {main} thrown in /var/www/html/guro/vendor/podio/podio-php/lib/Podio.php on line 289 My code: $client_id = '-----'; Podio::setup($client_id, $client_secret); Podio::set_debug(true); $fields = new PodioItemFieldCollection(array( //Make new Item //Save Item |
That error is getting thrown because the referenced item isn't valid. Could there have been changes to the app that could have later invalidated your code? Can you confirm that the fields are correct by using https://developers.podio.com/doc/items Just so you know, we have a tag on StackOverflow for https://stackoverflow.com/questions/tagged/podio?sort=newest |
Hi, i create item with Api, but i receive this error:
Fatal error: Uncaught PodioBadRequestError: "O item referenciado não é válido" Request URL: http://api.podio.com/item/app/18730870/ Stack Trace: #0 /var/www/html/guro/vendor/podio/podio-php/lib/Podio.php(352): Podio::request('POST', '/item/app/18730...', Array, Array) #1 /var/www/html/guro/vendor/podio/podio-php/models/PodioItem.php(167): Podio::post('/item/app/18730...', Array) #2 /var/www/html/guro/vendor/podio/podio-php/models/PodioItem.php(71): PodioItem::create(18730870, Array, Array) #3 /var/www/html/guro/index.php(41): PodioItem->save() #4 {main} thrown in /var/www/html/guro/vendor/podio/podio-php/lib/Podio.php on line 289
Thank's for help!
The text was updated successfully, but these errors were encountered: