Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

401 UNAUTHORIZED when trying to get issues with more then one filter

eden lane April 4, 2013

I'm trying to get issues from private project using Bit Bucket Rest API.

When I'm asking for issues list with one filter:

https://api.bitbucket.org/1.0/repositories/OWNER/PRIVATE_REPO/issues?status=open&oauth_consumer_key=CONSUMERKEY&oauth_version=1.0&oauth_timestamp=1365146199&oauth_nonce=NONCE&oauth_signature_method=HMAC-SHA1&oauth_signature=SIGNATURE

it returns correct result. But when I'm trying to add another filter:

https://api.bitbucket.org/1.0/repositories/OWNER/PRIVATE_REPO/issues?status=open&status=resolved&oauth_consumer_key=CONSUMERKEY&oauth_version=1.0&oauth_timestamp=1365146199&oauth_nonce=NONCE&oauth_signature_method=HMAC-SHA1&oauth_signature=SIGNATURE

it returns 401 UNAUTHORIZED.

What's could be wrong ? I'm using JavaScript OAuth library from http://oauth.net/code/ and signing all requests with OAuth.completeRequest(msg, accessor)

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
eden lane May 8, 2013

It is confirmed bug. More information could be found here: https://support.atlassian.com/browse/BBS-2793

1 vote
John Chin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 8, 2013

Hi Eden,

Error 401 UNAUTHORIZED which mean the returned if the call requires authentication and either the credentials provided failed or no credentials were provided.

Hope its help. Thanks, John

eden lane May 8, 2013

Greetings, John !

Sorry, I forget to change status of that issue. It is a bug, bitbucket support confirmed it: https://support.atlassian.com/browse/BBS-2793 .

I'm still waiting until it will be fixed.

But thanks for your answer anyway !

TAGS
AUG Leaders

Atlassian Community Events