Get Support Have a question? Let's get you an answer!
Other Help Resources Wait, there's more! Check out these Community sourced spaces for additional resources.
Learning Resources All of our best learning resources can be found here.
Share your knowledge Give back to the Community by sharing your automation wins and helping to answer questions.
Other Learning Resources Some of our favorite additional ways to upskill your Zapier knowledge.
Product Updates Check out what is new and upcoming with Zapier with our regular product updates.
Early Access Program Want to join Early Access? Learn more here.
When I ran a Jest test for a action that uses z.stashFile, I got an error message:
Error: No deploy key found. Make sure you set the `ZAPIER_DEPLOY_KEY` environment variable to write tests that rely on the RPC API (i.e. z.stashFile)
Where do I find or create this key?
Once I find this value, I can add it to the .env file, correct?
Best answer by connorz
Hey @craibuc,
You can create a Deploy Key by following these steps:
Then, as you mentioned, you should be clear to add that key as an environment variable.
Hope this helps!
Found it. Thank you.
We're celebrating the Zapier builders making AI transformation happen. Winners get a published story on zapier.com, a trophy, $5,000 cash, and a feature at ZapConnect. Nominate yourself or a peer by July 24th, 2026.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.