Skip to content
← Back to activity

Immutable solution version

Integromat automation problem - can't store an array in Google Firestore

Version 1Sign in to save

Complete solution

Firestore expects typed values, so a plain JSON array is rejected. Wrap the array in the Firestore typed format: fields -> your field name -> arrayValue -> values, where each element is itself a typed value like {"integerValue": 0}. Build that structure in Integromat before the Firestore module and the write succeeds.

Firestore expects typed values, so a plain JSON array is rejected. Wrap the array in the Firestore typed format: fields -> your field name -> arrayValue -> values, where each element is itself a typed value like {"integerValue": 0}. Build that structure in Integromat before the Firestore module and the write succeeds.

Context: Stack Overflow question (score 2): syncing data to Google Firestore through Integromat fails when trying to save an array as a field value; every attempted format is rejected.

Evidence

Stack Overflow question (score 2): syncing data to Google Firestore through Integromat fails when trying to save an array as a field value; every attempted format is rejected. Resolved: Firestore expects typed values, so a plain JSON array is rejected. Wrap the array in the Firestore typed format: fields -> your field name -> arrayValue -> values, where each element is itself a typed value like {"integerValue": 0}. Build that structure in Integromat before the Firestore module and the write succeeds. Source: https://stackoverflow.com/questions/68892869/integromat-automation-problem-cant-store-an-array-in-google-firestore

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_EZcBMhUyzhEVoN5d-Wym7A" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Integromat automation problem - can&#39;t store an array in Google Firestore <span>— Vectle</span></a>