Fork me on GitHub

{:command-failed "{:op :push :creds-profile \"sportspedia\"}",
   "Unable to find a unique code bucket. Make sure that you are running\nDatomic Cloud in the region you are deploying to.",
   :class ExceptionInfo,
   :data {"datomic:code" nil}})}


Has anyone seen this error before?


I’m able to connect and dev against Datomic Cloud, so it is running.


I gave explicit :region key and it seems to work — apparently wasn’t picking up region from the profile.


I’m having trouble understanding how ions work with component / mount. Is there a post about this anywhere?


I do an explicit mount/start on first request


@p14n Ah I see. If you have N different endpoints, you just put the mount/start in each endpoint?


I only have one graphql one, so that's convenient. Thinking of putting the startup behind a special URL I call after deploy tho


I see. Are you using lacinia and hooking up the graphql one to lacinia/execute?


hi, having an issue with ions tutorial, cant fetch ions dependency, getting following error:

Error building classpath. Failed to read artifact descriptor for com.datomic:ion:jar:0.9.28
org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for com.datomic:ion:jar:0.9.28
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact com.datomic:ion:pom:0.9.28 from/to datomic-cloud (): Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: B62D357DA6A66B13; S3 Extended Request ID: GPC1UKcSUCjPudHXFq8r/krZOp03kN6L9DH717Sj3J91t/GLNvepfoV2g/0+dFRQmtRMnt6CVTw=)
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(
	at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(
	... 25 more
the deps.edn is taken from the documentation:
{:deps {com.datomic/ion {:mvn/version "0.9.28"}}
 :mvn/repos {"datomic-cloud" {:url ""}}
  {:dev {:extra-deps {com.datomic/ion-dev {:mvn/version "0.9.186"}}}}}


figured it out, had to specify AWS_PROFILE environment variable

👍 4