Docs: Flows v4 API — same actionTypeId / type / enum-operator gotchas as nodejs SDK
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 58/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- python
- 领域
- api, documentation
调研方向
先从 Python SDK 对 POST /automation/v4/flows 的处理方式及文档入手,然后将其与链接的复现以及列出的四个易错点进行比较。当 SDK 文档或错误消息能够清楚涵盖 actionTypeId 值、所需的匹配 type、ENUM 运算符语法以及非嵌套的事件过滤器分支时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Cross-post of https://github.com/HubSpot/hubspot-api-nodejs/issues/695 — the same four Flows v4 errors surface when scripting workflows from this Python SDK, and the error messages mislead in the same way. Reproducible payloads and fixes: https://www.elemra.com/learn/hubspot-flows-v4-api-errors
Summary of what to know before hitting POST /automation/v4/flows:
- Legacy
actionTypeId: "0-13"returns HTTP 500. Use"0-63809083"(add) /"0-63863438"(remove). - Top-level
typefield is required and must matchobjectTypeId(CONTACT_FLOWfor0-1,PLATFORM_FLOWfor0-3). - ENUM properties reject
IS_NOT_EQUAL_TO; useIS_NONE_OFwith a single-elementvaluesarray. - Unified-events filter branches cannot nest — promote to top-level
eventFilterBranches[]entries.
Same offer as on the nodejs issue: happy to open a PR against the SDK's error messages or docs if useful.
- 主要语言
- Python
- 星标
- 436
- 派生
- 128
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
HubSpot/hubspot-api-python 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
HubSpot/hubspot-api-python#497 ·
-
难度 4/5 3-5 天 新手友好度 35/100
HubSpot/hubspot-api-python#500 ·
-
难度 4/5 3-5 天 新手友好度 52/100
HubSpot/hubspot-api-python#496 ·
-
难度 4/5 3-5 天 新手友好度 35/100
HubSpot/hubspot-api-python#495 · 1 条评论 · 2 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 52/100
HubSpot/hubspot-api-python#494 ·
查看 HubSpot/hubspot-api-python 的全部 Issue
相似的 Issue
-
docs pydanty:is-working
难度 2/5 1-3 小时 新手友好度 68/100
pydantic/pydantic-ai#10113 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
GreedyBear-Project/GreedyBear#1727 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
ARM-software/CMSIS-DSP#354 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
kiat/codeAssist#391 ·
-
needs triage
难度 2/5 1-3 小时 新手友好度 83/100
darnitdevorg/darnit#587 ·
维护者通常 1 天内回复