I am trying to upload a file.. First of all whole process is unnecessarily convoluted.
? Use TWO keys to get ANOTHER two key BEFORE running anything... Say good buy to unit tests.
To upload a file one needs to go trough the above mentioned process which in my case always ends in:
Could not validate access_token and account_id, please reauthenticate or try again.
I did both but the result is always the same.
To shed some light I went into the admin area and used the API test tool to get folder info. Also unsuccessful. This time I have a complain that I didn't supply the key of the folder to upload the file to???? BUT THERE IS NO WAY in the API to get that...
But there is hope. The documentation mentions that if you don't supply the folder id the root will be automatically considered... so I try that.... No, no success:
"status": "error",
"response": "Please provide the folder_id param."
So my question is
HAS ANYBODY USED THIS API WITH ANY SUCCESS??
If you did, please share your knowledge. I just want to upload a file and than at a later time in another place with another tool to download the same file... One would expect this to be the core of this "SHARE FILES" API and the simplest to implement...
? Use TWO keys to get ANOTHER two key BEFORE running anything... Say good buy to unit tests.
To upload a file one needs to go trough the above mentioned process which in my case always ends in:
Could not validate access_token and account_id, please reauthenticate or try again.
I did both but the result is always the same.
To shed some light I went into the admin area and used the API test tool to get folder info. Also unsuccessful. This time I have a complain that I didn't supply the key of the folder to upload the file to???? BUT THERE IS NO WAY in the API to get that...
But there is hope. The documentation mentions that if you don't supply the folder id the root will be automatically considered... so I try that.... No, no success:
"status": "error",
"response": "Please provide the folder_id param."
So my question is
HAS ANYBODY USED THIS API WITH ANY SUCCESS??
If you did, please share your knowledge. I just want to upload a file and than at a later time in another place with another tool to download the same file... One would expect this to be the core of this "SHARE FILES" API and the simplest to implement...