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
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.