Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

404 responses for creating database and whiteboard using api v2

Alice Gu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 30, 2026

Hi,

 

I called api to create folder, embed, database and whiteboard. I can create folder and embed, but for database and whiteboard, the api response is 404

{
    "errors": [
    {
        "status": 404,
        "code": "NOT_FOUND",
        "title": "Not Found",
        "detail": null
    }
    ]
}

 

this is the request I send to api server:

url: https://api.atlassian.com/ex/confluence/fec2cef4-3fef-435d-8dec-4da86f353e10/wiki/api/v2/databases

body 

{
  "spaceId""39963394131",
  "title""apitestcreatedatabase",
  "parentId""39963492514"
}
with token that generated from Oauth2.0, the token is correct, because I used it for other api, it can get correct response for other api.

 

1 answer

0 votes
Tomislav Tobijas
Community Champion
June 30, 2026

Hi @Alice Gu ,

I'm assuming you've referred to the following docs when it comes to creating databases with API: https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-database/#api-databases-post

I haven't used the API for databases for a while, so have you checked which scopes is the API token using? Generally speaking, easiest way would be to use API token that can be generated via your profile https://id.atlassian.com/manage-profile/security/api-tokens or use Service Accounts.2026-06-30_09-52-24.png

Please check how things look with basic auth to see if that will work (if, potentially, something is wrong with OAuth 2.0).

Cheers,
Tobi

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events