Skip to main content

Hello

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


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.



thank you for your help