Best answer

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)

  • 27 July 2023
  • 2 replies
  • 104 views

Userlevel 1
Badge

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?

icon

Best answer by connorz 2 August 2023, 20:30

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Userlevel 3
Badge +6

Hey @craibuc,

You can create a Deploy Key by following these steps:

  1. Visit https://developer.zapier.com
  2. Sign into your account
  3. Click your profile in the upper-right corner
  4. Click “Settings”
  5. Click “Deploy Keys” on the left
  6. Click to create a new key

Then, as you mentioned, you should be clear to add that key as an environment variable.

Hope this helps!

Userlevel 1
Badge

Found it.  Thank you.