404 Not Found when using paged API on projects

When I use the API to procure the projects on our server, I receive the default 25.

When I try to request using the nextPageStart, I get a "404 not found", when I try to up the limit on the initial request, I get a "404 not found".

It seems it's breaking whenever I add paging-parameters to my get-query.

I'm using these docs for the API
https://developer.atlassian.com/static/rest/bitbucket-server/4.14.4/bitbucket-rest.html#idm46478324103840

This for the paging
https://developer.atlassian.com/static/rest/bitbucket-server/4.14.4/bitbucket-rest.html#paging-params

1st attempt

My query looks like this:
https://bitbucket.ourcompanyname.com/rest/api/1.0/projects
and it returns 25 projects and isLastPage = false, nextPageStart = 90

My next query looks like this;

https://bitbucket.ourcompanyname.com/rest/api/1.0/projects?start=90

Gives 404 not found.

 

2nd attempt

My query looks like this:
https://bitbucket.ourcompanyname.com/rest/api/1.0/projects?limit=1000

Gives 404 not found.

 

We're using V4.14.4 of Bitbucket Server

0 answers

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,746 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you