I am trying to execute REST API to get project details from Java code but getting error while accessing it.
REST API: /rest/api/2/project/DINESHKAN
Error: [https://dineshpt.atlassian.net/] Not Found: {"errorMessages":["No project could be found with key 'DINESHKAN'."],"errors":{}}
Hi Felix,
Thank you so much for your response.
Project Dinesh Kanban Project with key DINESHKAN exists in the system and i can access the project manually.
Also Project access is Open so i have necessary permissions and I am using basic authentication with my username- dinesh.valmikpatil@uobgroup.com and API Token as password to get project details from the REST API.
Is there any else you think might be missing? I am using trial version of Atlassian so could it due to that? Please advise.
Thank you.
Hi Dinesh, nice to meet you and I am very excited to suggest this article.
Please follow below steps:
-Ensure that the project with the key 'DINESHKAN' actually exists in the system. You can cross-verify it by accessing the project manually or checking the project list.
-Ensure that you have the necessary permissions and authentication credentials to access the project details via the REST API. Make sure you have the appropriate access level and correct authentication/token credentials.
I hope this helps, even if it's just a small one. 😐
Thank you,
Felix M.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.