Title: Workflow action build fails: “Invalid objectTypes value: CONTACT” (object type names no longer accepted?)
Hi everyone,
Since recently, uploading our project fails at the build step with this error on our custom workflow action:
[ERROR][create_fynk_document_action] Invalid objectTypes value: CONTACT.
Expected {metaTypeId}-{innerId}, for example 0-1 or 1-14833567.
Setup
platformVersion:2026.03- HubSpot CLI 8.14.0
- Component type
workflow-action, with this config:
"objectTypes": ["CONTACT", "COMPANY", "DEAL"]
What we noticed
- This exact config built and deployed without errors from mid-July to 27 August 2026 (15 successful builds). We haven’t touched it since. The first upload after that, on 4 November, failed.
hs project validatestill passes with the names. The rule only seems to run in the build on HubSpot’s servers.- The “Custom workflow actions” page in the developer docs and the official
HubSpot/hubspot-project-componentsexamples on GitHub (both2026.03and2026.09-beta) still use"objectTypes": ["CONTACT"]. - We couldn’t find a changelog entry about this.
- Possibly related: App Events build fails for objectType “APP_OBJECT”, where object type values that the docs list as valid are also rejected by the build.
Switching to the IDs (0-1, 0-2, 0-3) gets the build through again.
Questions
- Is the switch to object type IDs in
objectTypesan intended change, and does it apply to all platform versions? - If it is intended, will the docs and example templates be updated, and will
hs project validatecheck it locally? - Does this change anything at runtime? Specifically, will the execution payload sent to
actionUrlstill containobjectType: "CONTACT", or will it now contain the ID? - Can
objectTypeson an already-deployed workflow action be changed from names to IDs without changing itsuid? Existing customer workflows use the action.
Thanks!