No cluster could be found


#1

Dear friends,

When I run prisme deploy I got the following error:

Error: No cluster could be found for workspace '*' and cluster 'default': {"response":{"data":{"generateClusterToken":null},"errors":[{"message":"No cluster could be found for workspace '*' and cluster 'default'","locations":[{"line":3,"column":9}],"path":["generateClusterToken"],"code":222}],"status":200},"request":{"query":"
      mutation ($input: GenerateClusterTokenRequest!) {
        generateClusterToken(input: $input) {
          clusterToken
        }
      }
    ","variables":{"input":{"workspaceSlug":"*","clusterName":"default","serviceName":"default","stageName":"default"}}}}
    at GraphQLClient.<anonymous> (/usr/local/lib/node_modules/prisma/node_modules/graphql-request/src/index.ts:72:13)
    at step (/usr/local/lib/node_modules/prisma/node_modules/graphql-request/dist/src/index.js:40:23)
    at Object.next (/usr/local/lib/node_modules/prisma/node_modules/graphql-request/dist/src/index.js:21:53)
    at fulfilled (/usr/local/lib/node_modules/prisma/node_modules/graphql-request/dist/src/index.js:12:58)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:160:7)
Exiting with code: 1

Would you please help me to fix this?

Thank you in advance.


#2

Hi @david.medium9

Can you please tell me your cli version and prisma cloud workspace name(it is listed under settings)

Thanks,
Harshit