Notify.webhooks.0 should be a map it I try to use notify and webhoocks

circle.yml

#1

Hi I get the following message:

Dang! We spotted something wrong with your circle.yml. These may be causing your builds to fail. We recommend that you fix them as soon as possible. You may want to look at our docs or contact us us if you’re having trouble.
notify.webhooks.0 should be a map

here is my circle.yml

notify:
webhooks:
- https://api.telegram.org/bot225389236:AAGTsV-9HT6R7ixzpfnW5Q8rLstb-rrZvsU/sendMessage?text=https%3A//circleci.com/gh/jurgob/kamana.png%3Fcircle-token%3Dac910a97485691fe20208eba1ae5bed45137b185&chat_id=MY_CHAT_ID

deployment:
staging:
branch: master
commands:
- “[[ ! -s “$(git rev-parse --git-dir)/shallow” ]] || git fetch --unshallow”
- git config --global user.email "jurgo.boemo@gmail.com"
- git config --global user.name “jurgob”
- ./scripts/push_staging.sh

if I copy/paste the webhook url on chrome, it works fine


#2

Assuming its not an indentation issue, try placing the whole webhook line in quotes.

notify:
  webhooks:
    - "https://api.telegram.org/bot225389236:AAGTsV-9HT6R7ixzpfnW5Q8rLstb-rrZvsU/sendMessage?text=https%3A//circleci.com/gh/jurgob/kamana.png%3Fcircle-token%3Dac910a97485691fe20208eba1ae5bed45137b185&chat_id=MY_CHAT_ID"

#3