Cache referencing

All references to Cache has been removed. But still the below error is being thrown while gulp deployment.

{"code":"steps.cache.InvalidCacheResourceReference","message":"Invalid cache resource reference RegValidation in Step definition LookupCache.RegistryValidation.

The Above Lookup is not present in API code but in generic common code which is not used in the API at all. Still the cache is being referenced. Any idea how to solve this?

0 2 102
2 REPLIES 2

there might be some cache policy (even if it's not attached to any flow) - maybe its part of bundle in some revision - this will give the error

Not applicable

The error basically comes when you have the cache refference in the policy and that is not created in the environment configuration.

As you said you have have removed there but you should not have any lookup cache or populate cache policy in the proxy or in the shared flow attached to the proxy. If anywhere it's there then create the cache reference in the same environment configuration in which you are trying to deploy the proxy.

This is a validation error if you have missed the cache creation with the same name of reference in the policy.