Yext Apply does not pull in entities

I am following this guild

But when I do the apply command I get a large amount of errors like this

    at /default/km/entity-folder/greaterNewOrleans24.json 5:14
Error: Resource not found: radiologyDiagnostic
    at /default/km/entity-folder/kennerRiverParishes14.json 5:14
Error: Resource not found: radiologyDiagnostic
    at /default/km/entity-folder/mississippi12.json 5:14
Error: Resource not found: radiologyDiagnostic
    at /default/km/entity-folder/northshoreEast28.json 5:14
Error: Resource not found: radiologyDiagnostic
    at /default/km/entity-folder/northshoreWest34.json 5:14
Error: Resource not found: radiologyNuclearMedicine
    at /default/km/entity-folder/greaterNewOrleans80.json 5:14
Error: Resource not found: radiologyPediatricsRadiology
    at /default/km/entity-folder/greaterNewOrleans89.json 5:14
Error: Resource not found: radiologyRadiologyNuclear
    at /default/km/entity-folder/kenner15.json 5:14
Error: Resource not found: radiologyTherapeutic

And while all of the Yext Content configuration is moved over none of the entities are applied to the environment.

I am seeing this alert if it has anything to do with it

Can you share the sequence of commands you are using? Are you adding any flags or item types to your pull command?

@Zach_Shearer
I am doing

yext init

choosing the from env
then

yext resources pull ./PULLFOLDER

then

yext init

choosing the to env (it is not a sandbox)
then

yext resources apply ./PULLFOLDER
1 Like

@Erik_Summerfield , when you do your original pull, is that from a sandbox account? Once pulled down, can you see the files in the folder structure that are currently returning an error?

Per your original referenced documentation, is your intent here to clone the whole account?

My only thinking is maybe testing a partial pull and apply, though that may make your whole account transition less smooth.

E.g.,

yext resources pull --type crawler/site-crawler

@Zach_Shearer Both of them are prod accounts
yes the files through the errors are there.
and yes I am trying to clone the whole account.
I have tried doing the partial with the apply but not the pull