This error happens when attempting to create a space from the CLI under another space instead of an organization. Please use the private key for your organization, not another space. You can get that here: https://builder.io/account/organization?root=true
Hi, I tried by making a new space and then the new key but I still get the same error:
errors: [
{*
message: 'Attempted to create a space under another space instead of an organization. Please use the private key for your organization, not another space. You can get that here: https://builder.io/account/organization?root=true',*
locations: [Array],*
path: [Array],*
extensions: [Object]*
}*
]* }
I have tried the suggested fix from this thread but did not work for me.
I have tried creating a new key, then i revoked it and created a new one and still get the same error…
I’m wondering if you mistakenly tried to fix the issue by using the private key of your archieve space, not an organization. Could you please confirm us that you’re using Private Keys under Organization Tab i.e. (Builder.io: Drag and drop page builder and CMS) ?
Garima!, Thanks for your reply, So the issue looks like it was me using the private key under space and not organization… I realized now with your response after I clicked the link you provided. The organization showed as archived and was able to use the private key anyway. I did unarchive it afterwards though. Thank you for your response and help!!!