Comments (8)
Hi and sorry for the late reply.
I did not add any error handlers to this library. Could you please give me:
- The full exception stack trace
- Steps required to reproduce the issue
- Any system information that might be relevant, e.g. your operating system and PHP version.
from dropbox-v2-php.
Sure i'll send you this right away
from dropbox-v2-php.
What i do here is that i fill a form with my Dropbox developer credentials and i try to create a FolderTree, The first folder is name Inochi but this folder already exists and that's what the code send to me.
I use PHP7 and wamp with MySQL v 5.6.34 Under Windows 10 Anniversary update.
Thanks for your help.
from dropbox-v2-php.
It's an API error, not a library error. Refer here.
from dropbox-v2-php.
Oh Thanks !
But how I handle this ? Just a Catch of CreateFolderError and i can do what i wish ( like remove the folder for example ? )
from dropbox-v2-php.
Pretty much sums it up, yes.
from dropbox-v2-php.
Oh alright i'm pretty new to PHP would that code work ?
catch (DropboxException $exception)
{
if ($exception->getCode() == 409)
{
dump($exception->getTrace());
return false;
}
from dropbox-v2-php.
I'd check for the exact error as the code might change over time (it's controlled by Dropbox) and/or have multiple errors mapping to the same code.
The basic workflow would be:
- json_decode the response
- Check what the exact error is (see attachment)
from dropbox-v2-php.
Related Issues (16)
- maintainer HOT 1
- hi HOT 1
- Get shared folder url in public directory HOT 1
- Invalid authorization value in HTTP header HOT 4
- How to authorize the user? HOT 1
- "HTTP ERROR 500" HOT 4
- Not getting any example code to access dropbox and these sdks in my web application.
- About Preview section in RAW Example Code HOT 1
- It can be use? i download and blank show! HOT 10
- How to catch error or show status HOT 3
- Use stone to auto generate functions and data types HOT 1
- Authentication examples HOT 2
- how use ListFolder? HOT 1
- installation fails HOT 8
- Concerning maintainer of this repository. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dropbox-v2-php.