slack-orb icon indicating copy to clipboard operation
slack-orb copied to clipboard

"error": "invalid_arguments" when using basic_success_1

Open ben-codexdf opened this issue 2 years ago • 1 comments

Orb version:

4.1

What happened:

Received "error": "invalid_arguments" in CircleCI job log. Job completed successfully, too. Using the following config:

      - slack/notify:
          channel: '<my_slack_channel>' 
          event: pass
          template: basic_success_1

Expected behavior:

  1. We should get the correctly formatted message in our Slack
  2. We should see "error": null in the CircleCI job log.

Additional Information:

Looks like this was previously an issue thought to have been resolved.

ben-codexdf avatar Aug 26 '22 14:08 ben-codexdf

Hi @ben-codexdf 👋

Did you receive this error from the slack/notify job? The orb doesn't contain such a message, so I'm trying to figure out where it came from. Can you share more details? Maybe more lines of your log?

Looks like this was previously an issue thought to have been resolved.

Do you mean that an issue was previously created for the same reason? Would you mind sharing it?

EricRibeiro avatar Sep 14 '22 18:09 EricRibeiro

I'll close this issue since the author hasn't replied. If the problem surfaces again, I'll be happy to re-open it.

EricRibeiro avatar Nov 02 '22 18:11 EricRibeiro

I'm getting the same error. The error is coming from the job (see screenshot below) image

Ehbraheem avatar Dec 10 '22 10:12 Ehbraheem

@Ehbraheem I had the same issue but it was resolved when I updated the orb to circleci/[email protected]

cdierkens avatar May 17 '23 12:05 cdierkens