Error creating Organization: org orgname already associated with another project

Hi,

I had an apigee PAYG instance running, which I deleted later on. After that I tried to create another apigee instance of same type but I’m getting the following error during provisioning organization.

Permission denied on resource "organizations/my-poc" (or it may not exist)

When I tried to create it manually using the following command,

curl --location 'https://apigee.googleapis.com/v1/organizations?parent=projects%2Fmy-poc' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer TOKEN' \
--data '{
    "name": "my-poc",
    "description": "created using postman",
    "analyticsRegion": "australia-southeast1",
    "runtimeType": "CLOUD",
    "projectId": "my-poc"
}
'

Response I got is:

{
    "error": {
        "code": 409,
        "message": "org amy-poc already associated with another project",
        "status": "ALREADY_EXISTS"
    }
}

When I tried to get the project mapping:

curl --location 'https://apigee.googleapis.com/v1/organizations/my-poc:getProjectMapping' \
--header 'Authorization: Bearer TOKEN'

Response is:

{
    "error": {
        "code": 403,
        "message": "Permission denied on resource \"organizations/my-poc\" (or it may not exist)",
        "status": "PERMISSION_DENIED"
    }
}

Is there any way to resolve this?

Is there any page in GCP apigee dashboard where i can view these org mappings and manage them?

Thanks,

Akhil

Hello,

I would suggest you to refer PAYG FAQ’s for this query.

If you are query is still unanswered please raise a support case with GCP Support team

1 Like

Hi ,

Could you please specify the issue resolution here ?

Regards,

Niranjan Reddy

1 Like