We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Gia I.
10 years agoNew member | Level 1
I get error readline() function
i try curl login dropbox but i alway get this error..
1. Go to: https://www.dropbox.com/1/oauth2/authorize?locale=&client_id=qb8y2vxw727tgqh&response_type=code 2. Click "Allow" (you might have ...
Greg-DB
Dropbox Community Moderator
10 years agoIs the output you shared from before or after you installed readline? In any case, based on the error message you've shared, it looks like your system doesn't have readline installed, or it isn't available to your app for some reason. That line of code prompts the user to enter the authorization code they receive from the Dropbox Web site.
That means you just need to install readline (or debug why it's not available to your app) or replace readline with whatever function is available on your platform for accepting input from the user, though that may be specific to your platform so I can't say off hand what the right answer for your system is. For example, here's a post about this for Ubuntu:
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!