Hi,
While working with ZCLI recently, I've had issues deploying local applications. I followed the steps described in the official documentation: https://developer.zendesk.com/documentation/apps/getting-started/using-zcli/#authenticating-zcli-using-environment-variables
However, when I would set .env variables as echo 'export ZENDESK_EMAIL="email@example.com"' >> ~/.zshrc
It would be used incorrectly to create basic authorization headers used in the zcli apps:create command.
The header would be incorrectly base64 encoded as “email@example.com"/token=my_token instead ofemail@example.com/token=my_token.
I'm using Mac OS Version 14.4 (23E214) with node v18.19.1 and zcli version @zendesk/zcli/1.0.0-beta.40 darwin-arm64 node-v18.19.1.
I've fixed the issue by saving my email without double quotation marks, so I'm posting here just for awareness and visibility.
Best,
Mauro
Incorrect documentation?
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.