Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm developing a Perl module to work with the UbuntuOne's API.

1) I'm able to retrieve the Name, Consumer key, Consumer Secret, Token and Token secret values using the basic HTTP authentication and JSON parser.

2) With these data, the api-doc says that I should do a GET to

I get:

ok 0/20

Anybody knows what it means?

3) Finally, when I try to use the API I receive a HTTP/1.1 401 UNAUTHORIZED :-(

Any ideas?

share|improve this question
up vote 0 down vote accepted

After hours fighting with ubuntu one. Here are the answers:

1) 0/20 means 0 valid Tokens. Although the process is correct, UbuntuOne is not able to validate your conection to the API.

2) During the basic authentication, the parameters are:

  • ws.op=authentication
  • token_name=Ubuntu One @ something

Caution: The token_name should be exactly (capital letters, spaces, etc).

share|improve this answer
Ok, the first super-basic but functional module is ready at – user121953 Jan 16 '13 at 12:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.