Skip to content

fix: clarify Slack billing access errors - #101

Open
invoiceradar-assistant wants to merge 1 commit into
mainfrom
fix/slack-billing-error
Open

fix: clarify Slack billing access errors#101
invoiceradar-assistant wants to merge 1 commit into
mainfrom
fix/slack-billing-error

Conversation

@invoiceradar-assistant

Copy link
Copy Markdown
Collaborator

Summary

  • Adds explicit Slack billing access validation before reading billing_items
  • Replaces the opaque Cannot read properties of undefined (reading 'filter') failure with actionable Slack billing-owner errors
  • Adds response validation for Slack billing history API failures/missing billing_items

Verification

  • python3 -m json.tool plugins/slack.json >/dev/null
  • Plugin scripts parse with Node
  • Saved failing HTML from run co_zmvmsQQgdggfWY3Pdu3H4FqXUAn now maps to: Slack billing history is only available to workspace owners. Please sign in with a Slack workspace owner account.

Context

Recent Enneo Slack runs landed on Slack's Workspace owner only page, so checkAuth succeeded by URL but the billing API list was unavailable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant