Closed vmcilwain closed 10 years ago
You probably didn't authenticate the account properly. So, did you sucessfully run the dropbox:authorize
Rake task? Did you remember to update the model file after that?
Hi,
Yes I did successfully run the dropbox:authorize. I wasn't able to run that before when I was having my SSL issues. I knew my SSL issues were correct when I ran that and got a response back which were my tokens. I assume when you mean that I updated my model file that I added the token, token secret, and user id. I didn't see in the documentation if there was anything else aside from that that I needed to add.
No, this what you wrote is all. Did you check if your Dropbox application is of "App folder" type?
Oh. Sorry. Yes I did check that the dropbox application was set to "App Folder". I also see that the app folder is created in the drop box account.
:access_type
should be inside of the :dropbox_credentials
hash.
Ah, I'm sorry I missed that. Thats exactly what the problem was.
No problem. It's always good to have an extra pair of eyes :)
I have been attempting to upload a file via the rails console and have not had any luck. Unfortunately the only error I get is DropboxError: Forbidden. The log file doesn't show any additional errors so I'm at a loss on how to debug this. What I have in my model is:
I am looking for any ideas on how I can figure out is not right and how I can fix it so I can upload a file to my dropbox account. Any help is appreciated.