cloudfoundry-community / slack-notification-resource

Concourse CI resource for sending notifications to Slack.
MIT License
75 stars 81 forks source link

check: 401 Unauthorized #60

Closed mathias-ewald closed 5 years ago

mathias-ewald commented 5 years ago

The resource worked fine for a while, now since a couple of days, I am getting this when the resource is checked:

resource script '/opt/resource/check []' failed: exit status 1

stderr:
failed to fetch digest: 401 Unauthorized

My pipelines uses the resource as follows:

 resource_types:
   - name: slack-notification
     type: docker-image
     source:
       repository: cfcommunity/slack-notification-aesource
       tag: latest
...
resources:
   - name: slack
     type: slack-notification
     source:
       url: "https://hooks.slack.com/services/*********"
...
jobs:
...
   - name: deploy
     plan:
       ...
       - put: slack
         params:
           text_file: code/ci/slack/text.txt

I have tried generating a new hook url, but it shows the same error.

jhunt commented 5 years ago

I believe you have misspelled resource with an errant a and dropped the r.