Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Dataform Run Doesn't work with CI/CD

Hello @ms4446 

 

I have installed Dataform on my local machine(WSL) and ran the dataform deployments to GCP, everything worked from my local machine to GCP, however when i tried to do the deployment dataform --run i am getting the below error message:

Dataform encountered an error: Unexpected property "type", or property value type of "string" is incorrect.[0m
2025-03-22T13:55:25.4594218Z [91mReferenceError: Unexpected property "type", or property value type of "string" is incorrect.
2025-03-22T13:55:25.4595203Z     at /azp/_work/r21/a/_Dataform Build/Build_Dataform_Artifacts/.npm/node_modules/@dataform/cli/bundle.js:137:23
2025-03-22T13:55:25.4595912Z     at Array.forEach (<anonymous>)
2025-03-22T13:55:25.4596630Z     at checkFields (/azp/_work/r21/a/_Dataform Build/Build_Dataform_Artifacts/.npm/node_modules/@dataform/cli/bundle.js:118:33)
2025-03-22T13:55:25.4598307Z     at verifyObjectMatchesProto (/azp/_work/r21/a/_Dataform 

Any thoughts or suggestions would be very helpful. 

0 1 83
1 REPLY 1

Hi @NK2020,

Welcome to Google Cloud Community!

This error suggests a version mismatch between your local Dataform CLI and the Dataform backend/runtime used in your CI/CD environment. Ensure both are using the same, compatible Dataform version.

You can check this related discussion from Google Cloud Community and apply the workarounds that mentioned.

Alternatively, if the issue persists, please contact Google Cloud support. When reaching out, include detailed information and relevant screenshots of the errors you’ve encountered. This will assist them in diagnosing and resolving your issue more efficiently.

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.