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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Integrate bitbucket with C#

I want to integrate my c# service with bitbucket cloud by using rest API so I can 

Fork repositories
create branches 
edit files 
Grant users as admin to the new repositories
I found that the Atlassian.Stash.Api library is the best for that
But I feel confused by the authentication method should I use
the library does not support the Oauth2 authentication and the basic authentication its not working  I keep have this error :

One or more errors occurred. (Unexpected character encountered while parsing value: T. Pat

so can you help if Atlassian.Stash.Api  supports Outh2 authentication ?  and what the best way to integrated with bitbucket using c# 


Thank you 

1 answer

0 votes

This suggests your code is not sending valid text to the server when you make the rest call.  You'll need to work out what is is sending and why replace the "T.Pat" it is sending with something valid.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events