Best answer

Issues running zapier env commands

  • 3 December 2019
  • 2 replies

Userlevel 2


Please i am new to Zapier and i trying to run the training using the OAuth2 template

But i am running into this issue running zapier env 1.0.0.

image.pngthis doesn't seem right...Please will appreciate any guide to get past this line of commands


Best answer by ikbelkirasan 3 December 2019, 12:27

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 7
Badge +12

Hi @XlevelRetail - It seems like you're using the latest version of zapier-platform-cli in which the syntax to set environment variables has changed a little bit.

To set a variable try doing it this way:

zapier env:set 1.0.0 CLIENT_ID "your_oauth2_client_id"

zapier env:set 1.0.0 CLIENT_SECRET "your_oauth2_client_secret"

  • 1.0.0 is the version number, change it to the current version of your app.

Userlevel 2

thank you for your help