I'm trying to start using Prisma (following a Udem...
# orm-help
j
I'm trying to start using Prisma (following a Udemy course) and getting this error after prisma deploy
Copy code
ERROR: No cluster could be found for workspace '*' and cluster 'default'

{
  "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
}
I've googled it a bit and the replies all talk about random things I'm not even touching, like ApiSecret and setting the cluster property in prisma.yml
h
Hi @Joseph Can you please share your prisma.yml file and your workspace slug(listed under settings)
j
@Harshit My prisma.yml:
Copy code
endpoint: <http://192.168.99.100:4466>
datamodel: datamodel.prisma
The IP is what my docker container is giving me. As for the workspace slug, I don't think I've reached that point yet 🤷‍♂️
h
Please use version 1.28.3
j
Ah, did things change for 1.28.5?
h
We have just identified this bug: https://github.com/prisma/prisma/issues/4215
j
Sweet, i'll give it a try
Worked fine 👍
h
🙂
j
Hey, was this fixed for 1.29.1?
h
Yup
😃 1
j
Still experiencing this with 1.29.2. Went ahead and reverted back to 1.28.3.