
Anonymous Community User asked a question.
PodioFile::upload new error "PodioError"
Since very recently, the API is returning a generic "PodioError" when calling PodioFile::upload (sometimes). There's no descriptive string that comes along with it, so it's hard to diagnose the issue on our end. PodioError Stack Trace: #0 /var/www/flow/html/podio-php-master/lib/Podio.php(293): Podio::request('POST', '/file/v2/', Array, Array) #1 /var/www/flow/html/podio-php-master/models/PodioFile.php(39): Podio::post('/file/v2/', Array, Array) #2 /var/www/flow/html/inc/flow_functions.php(3032): PodioFile::upload('attachments/123...', 'Anni.jpg') #3 .... I'm thinking this may be an authentication issue since I've noticed cross-workspace activity with these errors. If this is the case, it would be good to get the standard PodioForbiddenError. Either way, it would be good to get something more descriptive that we can trap and handle more effectively.