Title: Expected format array/collection
Last modified: September 29, 2023

---

# Expected format array/collection

 *  [djimmyl](https://wordpress.org/support/users/djimmyl/)
 * (@djimmyl)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/expected-format-array-collection/)
 * Hello,
 * I would like to update the metadata (custom field) of a user.
   I want to map my
   result like that (with an array or a collection) :
 *     ```wp-block-code
       {
         "RDV": {
           "RDV_{{4.id}}": {
             "Date_rdv": "{{4.date}}",
             "heure_debut": "{{4.time}}",
             "heure_fin": "{{4.endTime}}",
             "prestation": "{{4.type}},
             "options": "{{4.addonIDs}}",
             "prix_prestation": "{{4.price}}"
           }
         }
       }
       ```
   
 * Can you give me the expected format? Because when I try with this format I get
   an error: **Array of objects expected in parameter ‘meta’.**
   I make some test
   but always this error.
 * For your information, I can have several “RDV”.
   All RDV must be in {…}, but each
   RDV own information must be in its own collection.
 * The end result would be, for example:
 *     ```wp-block-code
       {
         "RDV": {
           "RDV_{{4.id}}": {
             "Date_rdv": "{{4.date}}",
             "heure_debut": "{{4.time}}",
             "heure_fin": "{{4.endTime}}",
             "prestation": "{{4.type}},
             "options": "{{4.addonIDs}}",
             "prix_prestation": "{{4.price}}"
           },
           "RDV_{{4.id}}": {
             "Date_rdv": "{{4.date}}",
             "heure_debut": "{{4.time}}",
             "heure_fin": "{{4.endTime}}",
             "prestation": "{{4.type}},
             "options": "{{4.addonIDs}}",
             "prix_prestation": "{{4.price}}"
           }
         }
       }
       ```
   
 * Thank you !

Viewing 1 replies (of 1 total)

 *  [davidgurr](https://wordpress.org/support/users/davidgurr/)
 * (@davidgurr)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/expected-format-array-collection/#post-17092829)
 * Hi [@djimmyl](https://wordpress.org/support/users/djimmyl/) !
   This forum isn’t
   monitored by any of our technical teams as we have so many integrations to look
   after.You could try the [Make Community](https://community.make.com/) forum, 
   but as this is quite a technical query I’d also suggest [opening a ticket](https://www.make.com/en/ticket)
   directly with our Support desk.

Viewing 1 replies (of 1 total)

The topic ‘Expected format array/collection’ is closed to new replies.

 * ![](https://ps.w.org/integromat-connector/assets/icon.svg?rev=2727332)
 * [Make Connector](https://wordpress.org/plugins/integromat-connector/)
 * [Support Threads](https://wordpress.org/support/plugin/integromat-connector/)
 * [Active Topics](https://wordpress.org/support/plugin/integromat-connector/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/integromat-connector/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/integromat-connector/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [davidgurr](https://wordpress.org/support/users/davidgurr/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/expected-format-array-collection/#post-17092829)
 * Status: not resolved