# Question About DropBox River

**URL:** <https://discuss.elastic.co/t/question-about-dropbox-river/11376>\
**Category:** Elasticsearch\
**Created:** [March 29, 2013, 11:15am UTC](https://discuss.elastic.co/t/question-about-dropbox-river/11376 "2013-03-29T11:15:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yahia](https://avatars.discourse-cdn.com/v4/letter/y/d9b06d/32.png) [@yahia](https://discuss.elastic.co/u/yahia)\
**Post date:** [March 29, 2013, 11:15am UTC](https://discuss.elastic.co/t/question-about-dropbox-river/11376/1 "2013-03-29T11:15:55Z")

</div>

hi all,

I have a problem with dropbox river, I created an application on the  
dropbox with these properties : App key : _9syaxuw8exjnxyi_

```
                                                               App 

```

secret: _efp7zc0ijyguaru_

I also get oauth\_token:"_akphp2bdjycxgca_" , "oauth\_secret":"\*  
4kd3dlv2hz9sf69\*"  
and "url":"[https://www.dropbox.com/1/oauth/authorize?oauth\_token=\*](https://www.dropbox.com/1/oauth/authorize?oauth_token=*)  
akphp2bdjycxgca\*"

by typing this command : curl [http://localhost:9200/\_dropbox/oauth/\*](http://localhost:9200/_dropbox/oauth/*)  
9syaxuw8exjnxyi\*/_efp7zc0ijyguaru_

i Allows to my application to access to my dropbox account by typing this  
url in my bowser:  
url":"[https://www.dropbox.com/1/oauth/authorize?oauth\_token=\*akphp2bdjycxgca](https://www.dropbox.com/1/oauth/authorize?oauth_token=*akphp2bdjycxgca)  
\*"

and i get back the success reply from Dropbox. but when I want to have the  
user Token and Secret by calling:

curl [http://localhost:9200/\_dropbox/oauth/](http://localhost:9200/_dropbox/oauth/)_9syaxuw8exjnxyi_/\*efp7zc0ijyguaru  
\*/_akphp2bdjycxgca_/\*4kd3dlv2hz9sf69 \*

i get this error: {"error":"OAuthException[Response body is incorrect.  
Can't extract token and secret from this: '{"erro  
r": "Token is not an authorized request  
token."}']","status":500},

it seems to me that "appsecret" is invalid according to the error, but  
rather it is valid !!!!

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:43am UTC](https://discuss.elastic.co/t/question-about-dropbox-river/11376/2 "2017-07-06T02:43:41Z")

</div>

Closed on July 6, 2017, 2:43am UTC


