Hey we’re having issues with the official Slack add-on. On submission, it’s intended to send an invite to the user submitting the form, to join our Slack community but we’re seeing the following error in the Entries admin:
Slack Feed: User was not invited
and no invite is sent.
A support ticket was submitted but we’re waiting on a response. There is another old thread here from a year ago with the same issue, but no public resolution there. Debugging logs are offering the following (personal details removed):
2020-02-18 9:55:24.768659 - DEBUG --> GFFeedAddOn::maybe_process_feed(): Checking for
feeds to process for entry #419 for gravityformsslack.
2020-02-18 9:55:24.769155 - DEBUG --> GFFeedAddOn::maybe_process_feed(): Starting to
process feed (#23 - Join EXAMPLE Slack Feed) for entry #419 for gravityformsslack
2020-02-18 9:55:24.769474 - DEBUG --> GFSlack::initialize_api(): Validating API Info.
2020-02-18 9:55:24.890887 - DEBUG --> GFSlack::initialize_api(): API credentials are valid.
2020-02-18 9:55:25.111531 - DEBUG --> GFSlack::send_invite(): Sending invite: Array
(
[team] => example
[email] => example@example.com
[set_active] => 1
[first_name] => Example
[last_name] => Example
[channels] => CBQBJF9MM,C7AET4SL9,CBNPET1HP,CBP3AE96G,C7C35PTN3,CBNJUSU7J
)
2020-02-18 9:55:25.473156 - ERROR --> GFSlack::send_invite(): User was not invited.
2020-02-18 9:55:25.476188 - ERROR --> GFSlack::send_invite(): Invite response: Array
(
[ok] =>
[error] => missing_scope
[needed] => client
[provided] => identify,channels:read,groups:read,team:read,users:read,users:read.email,chat:write:user,chat:write:bot
)
2020-02-18 9:55:25.476254 - DEBUG --> GFFeedAddOn::maybe_process_feed(): Marking entry #419 as fulfilled for gravityformsslack
Any help with this, or an alternative solution, would be appreciated.