Getting error while using response Cache policy

I am trying to storing the data using response Cache while adding that policy to my proxy flow i am getting Error, My proxy is not deploying into any Environment.

I am getting the below error

Error Deploying Revision 1 to prod Invalid cache resource reference paginationCache in Step definition ResponseCache-1. Context Revision:1;APIProxy:pagination-1

0 1 82
1 REPLY 1

Some things to check

1. Does your specified CacheResource match the cache you have created against your environment?

2. Does your cache resource exist in the same environment as the environment you're trying deploy your proxy to? If creating it via the UI, the UI may have defaulted to a different environment when creating your cache resource.