Hi All! I am getting the following error when star...
# prisma-whats-new
p
Hi All! I am getting the following error when starting a project with prisma and trying to deploy it:
Copy code
Error: patrick.strzelec~curv-prisma is not a valid name for a service name. It must start with a letter and may contain up to 30 letters, numbers, underscores and hyphens.: {"response":{"data":{"addProject":null},"errors":[{"locations":[{"line":2,"column":9}],"path":["addProject"],"code":4001,"message":"patrick.strzelec~curv-prisma is not a valid name for a service name. It must start with a letter and may contain up to 30 letters, numbers, underscores and hyphens.","requestId":
Any ideas of how to deal with it ? I have been able to deploy succesfully in the past
a
It should work when you remove the
dot
and the
tilde
in your service name.
p
@andre Do you know where I do that? this is my prisma.yml file:
Copy code
service: curv-prisma
stage: dev

datamodel: datamodel.graphql

# to enable auth, provide
# secret: my-secret
disableAuth: true
cluster: patrick.strzelec/prisma-us1
my username is patrick.strzelec so it seems that prisma does a concatenation of the service and user account, not sure how to fix that.
a
Ah interesting. That seems to be a bug, indeed. Could you please file an issue here? https://github.com/graphcool/prisma/issues/new?template=bug.md
p
👍 thanks andre
a
Sure thing. You’re welcome 🙂