We are using Clear Caches Pipe to clear the "node" cache and the "cypress" custom cache so every run we do the step with Bitbucket's Clear Caches Pipe script ends with a 404 error with the following message:
<span>✖ Failed to retrieve caches: 404 {"type": "error", "error": {"message": "Resource not found"}} <a href="https://api.bitbucket.org/2.0/repositories/thebellhop/ess-front/pipelines-config/caches/?page=1&pagelen=100" rel="noopener nofollow noreferrer" target="_blank">https://api.bitbucket.org/2.0/repositories/thebellhop/ess-front/pipelines-config/caches/?page=1&pagelen=100</a></span>
The step with the script is as follows:
name: delete cache if changes in the build dependencies
- pipe: atlassian/bitbucket-clear-cache:3.1.1
BITBUCKET_USERNAME: $BITBUCKET_USERNAME
BITBUCKET_APP_PASSWORD: $BITBUCKET_APP_PASSWORD
CACHES: ["cypress", "node"]
Can anyone help us?