# Project Not Found error when using the Circle API

**URL:** <https://discuss.circleci.com/t/project-not-found-error-when-using-the-circle-api/51284>\
**Category:** API\
**Tags:** bitbucket, api\
**Created:** [June 25, 2024, 6:15pm UTC](https://discuss.circleci.com/t/project-not-found-error-when-using-the-circle-api/51284 "2024-06-25T18:15:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![craju1](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@craju1](https://discuss.circleci.com/u/craju1)\
**Post date:** [June 25, 2024, 6:15pm UTC](https://discuss.circleci.com/t/project-not-found-error-when-using-the-circle-api/51284/1 "2024-06-25T18:15:36Z")

</div>

I currently am running the shell script and keep getting the error “message” : “Project not found”. I confirmed that my token works by using it for other api calls. I should also have access because I can see the projects within my UI. I have tried replacing with the org name and replacing with org id along with replacing with the project name and replacing with project id. I still cannot get a successful call. I had to put because I cannot have link in the topic.

curl --request GET   
–url /api/v2/project/bitbucket//   
–header “Circle-Token: ”

---

<div class="post-metadata">

**Author:** ![craju1](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@craju1](https://discuss.circleci.com/u/craju1)\
**Post date:** [June 25, 2024, 6:18pm UTC](https://discuss.circleci.com/t/project-not-found-error-when-using-the-circle-api/51284/2 "2024-06-25T18:18:27Z")

</div>

curl --request GET  
–url /api/v2/project/bitbucket/org/project  
–header “Circle-Token: token”

also ignore the last sentence. it removed what i had inbetween my less than and greater than signs

---

<div class="post-metadata">

**Author:** ![olafmol](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/olafmol/32/32599_2.png) [@olafmol](https://discuss.circleci.com/u/olafmol)\
**Post date:** [June 27, 2024, 2:33pm UTC](https://discuss.circleci.com/t/project-not-found-error-when-using-the-circle-api/51284/3 "2024-06-27T14:33:07Z")

</div>

Hi @craju1 does it work for you now? tnx! Olaf

---

<div class="post-metadata">

**Author:** ![craju1](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@craju1](https://discuss.circleci.com/u/craju1)\
**Post date:** [June 27, 2024, 2:52pm UTC](https://discuss.circleci.com/t/project-not-found-error-when-using-the-circle-api/51284/4 "2024-06-27T14:52:53Z")

</div>

it does not.

---

<div class="post-metadata">

**Author:** ![craju1](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@craju1](https://discuss.circleci.com/u/craju1)\
**Post date:** [August 27, 2024, 1:10pm UTC](https://discuss.circleci.com/t/project-not-found-error-when-using-the-circle-api/51284/5 "2024-08-27T13:10:08Z")

</div>

I was mistakenly using the wrong project name.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [September 3, 2024, 1:10pm UTC](https://discuss.circleci.com/t/project-not-found-error-when-using-the-circle-api/51284/6 "2024-09-03T13:10:55Z")

</div>

Closed on September 3, 2024, 1:10pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
