Slack method deprecation

I am using slack 0.49.5, but i am unable to send slack alerts when a dashboard card has some info.
When there is no result on the dashboard it is able to send the alert on the channel.

This is the error:
Error sending notification!,clojure.lang.ExceptionInfo: Slack API error: method_deprecated {:error-code "method_deprecated", :message "Slack API error: method_deprecated", :response {:ok false, :error "method_deprecated"}, :url "https://slack.com/api/files.upload"},

Are you using the new slack connector?

Can you explain it further i did not get what do you mean by new connector?

When did you start using Metabase? Did you move to the new way of connecting to Slack in the newest versions or you’re still using the old legacy connector?