You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f0c3fe4
Browse filesBrowse the repository at this point in the historyBrowse files
fix(web-api): send blocks.validate payloads as form params
blocks.validate reads blocks/message/view as JSON-encoded form fields, not a
JSON request body — a JSON body returns invalid_arguments ("must provide
exactly one of blocks, view, or message"). Serialize each provided payload
with json.dumps (converting Block/View objects to dicts first) and send via
params, following conversations.requestSharedInvite.approve. Verified against
the live API: blocks/message/view all validate, and malformed input returns
the errors[] contract.
client.py is the source of truth; async_client.py and legacy_client.py are
regenerated via scripts/codegen.py.
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
0 commit comments