Skip to main content
February 25, 2025
Question

UnresolvedDataStoreEntityException when Trying to deploy changes

  • February 25, 2025
  • 5 replies
  • 0 views

I need to deploy a series of datatypes to another environment. So I deployed the datatypes and then the datastore, and overwrote the original. Now the datatypes I needed are on the new datastore.

But when I go on with the deployment sending the rest of the changes to my environment, the Data store entities constants related to the datatypes I recently sent to my other environment give me the following error: UnresolvedDataStoreEntityException: entity [...] in data store [id=... uuid=...] cannot be found.

help, please!

5 replies

andrewh6762
February 25, 2025

Just need to be clear on exactly what you are doing. Are you deploying from environment one to environment two? Let's call it ENV1 and ENV2. Is there a third environment involved or something else like an export package you've been provided?

When you say that you "need to deploy a series of datatypes to another environment" do you mean you are deploying these from ENV1 to ENV2?

When you say that you "go on with the deployment sending the rest of the changes to my environment" are these also going from ENV1 to ENV2?

February 26, 2025

There are only two environments involved.

Answering the rest of your questions: yes, that is what is happening.

andrewh6762
February 26, 2025

So the data store entities constants in ENV1 are working fine but when you deploy to ENV2 you get the error? Did [mention:f5e81b8502fa4e77ad12697686a4fc56:e9ed411860ed4f2ba0265705b8793d05] 's suggestion below help at all?

As a test, if you create a brand new isolated constant that points to the new datastore/entity in ENV1 and deploy only that one object into ENV2 does it also have the same error?

mathieud0001
February 26, 2025

Is it possible that the datastore is not mapped to the data source?

Simply open the Data Store in the target env and map it to the appropriate datasource and publish.

I would suggest that you name the data sources the same in all your environments.

karumurua531442
February 26, 2025

hi [mention:8062021a99024c3ca110bb8adf0eebfd:e9ed411860ed4f2ba0265705b8793d05]  Did you verify the datastore in the other environment where you deployed? Did it validate or throw any errors? If there are any validations, try mapping those and re-verifying them before publishing.