pandorabots / pb-cli

Pandorabots command line interface
BSD 2-Clause "Simplified" License
33 stars 16 forks source link

Downloading .zip file with incorrect credentials is broken #9

Closed djfdev closed 6 years ago

djfdev commented 8 years ago

To recreate:

  1. Create a chatbot.json file with a bad user_key.
  2. Download .zip of bot files:
$ pb get --all

The CLI creates .zip file, but it cannot be unzipped. This command should display an "unauthorized" error in the case that bad credentials are supplied.

pbyk commented 8 years ago

Thank you for your bug report! Next major release will solve HTTP 401 error with showing message below.

error: authorization problem. check app_id and/or user_key