Getting 403 Forbidden error while creating space

Akanshi Kumari February 19, 2024

I am trying to create a space using rest API but getting 403 forbidden error
MEthod: POST

Authentication: Basic Auth

     "key": "space_key",
     "name": "space_name"
    "statusCode": 403,
    "data": {
        "authorized": false,
        "valid": true,
        "allowedInReadOnlyMode": true,
        "errors": [],
        "successful": false
    "message": "Cannot create Space",
    "reason": "Forbidden"

1 answer

0 votes
Marc Koppelaar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 19, 2024

Hi @Akanshi Kumari 

This means you don't have been granted a group membership on the global permissions in Confluence that is able to create a space.

Are you able to create a space form the GUI, if not you a certain that the above is the case.

Akanshi Kumari February 20, 2024

Yes from the GUI I am able to create space/pages but not from REST API


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events