Skip to content
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

PodioNotFoundError on file upload with expired token #57

Closed
globiweb opened this issue Jul 9, 2014 · 3 comments
Closed

PodioNotFoundError on file upload with expired token #57

globiweb opened this issue Jul 9, 2014 · 3 comments

Comments

@globiweb
Copy link

globiweb commented Jul 9, 2014

When calling PodioFile::upload and the auth token is expired, the call fails and returns an error instead of refreshing the token and performing the action like other API calls.

The error is:
PodioNotFoundError: "No matching operation could be found. Missing parameters: source."
Request URL: http://api.podio.com/file/v2/

Stack Trace:
#0 /var/www/vhosts/podioflow.com/httpdocs/podio-php-master/lib/Podio.php(240): Podio::request('POST', '/file/v2/', Array)
#1 /var/www/vhosts/podioflow.com/httpdocs/podio-php-master/lib/Podio.php(293): Podio::request('POST', '/file/v2/', Array, Array)
#2 /var/www/vhosts/podioflow.com/httpdocs/podio-php-master/models/PodioFile.php(39): Podio::post('/file/v2/', Array, Array)

@daviferreira
Copy link
Contributor

Can you check if this still happens?

@globiweb
Copy link
Author

globiweb commented Jul 1, 2015

I'm using the v3 library. Since the v4 library is not backwards compatible, I can't move to it, so I don't know if this is still an issue or not (it is for me :-))

@daviferreira
Copy link
Contributor

Ok, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant