データ連携基盤のAsteriaを使い、SlackAPIの運用を回しています。
その際、よくぶつかったエラーが「invalid_arg_name」
The method was passed an argument whose name falls outside the bounds of accepted or expected values. This includes very long names and names with non-alphanumeric characters other than _. If you get this error, it is typically an indication that you have made a very malformed API call.
https://api.slack.com/methods/chat.postMessage
slackAPIの公式ドキュメントには上記の記載。
パラメータのスペルミスか文字コード的な話かなと考えてたら、
「ストリーム型」をParameterListで渡してなかったのが原因でした。
結構詰まった。乙。