navicore / teams-notification-resource

for Concourse CI notifications on Microsoft Teams
MIT License
32 stars 33 forks source link

Bad payload received by generic incoming webhook #36

Closed filipefreitas82 closed 1 year ago

filipefreitas82 commented 1 year ago

I'm having this error "Bad payload received by generic incoming webhook", with the following, simplest, pipeline job config:


teams-success: &teams-success
  put: teams-alert
  params:
    text: "World"
    title: "Hello"
    actionName: More details
    actionTarget: $ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME

resource_types:
  - name: teams-notification
    type: registry-image
    source:
      repository: navicore/teams-notification-resource
      tag: latest

resources:
  - name: teams-alert
    type: teams-notification
    source:
      url: <WEBHOOK>

jobs:
  - name: test-teams-message
    max_in_flight: 1
    on_success: *teams-success
    plan:
      - task: hello-world-task
        config:
          platform: linux
          image_resource:
            type: registry-image
            source:
              repository: busybox
          run:
            path: echo
            args: ["Hello world!"]`
EugenEistrach commented 1 year ago

Have same error with latest version. Was working fine until last week

Joshv1499 commented 1 year ago

Have same error with latest version. Was working fine until last week

I also have been experiencing the same issues for a couple of weeks all of a sudden.