verbb / formie

The most user-friendly forms plugin for Craft CMS.
Other
96 stars 72 forks source link

[Salesforce] Cannot deserialize instance of multipicklist from START_ARRAY #2124

Open aaronbushnell opened 11 hours ago

aaronbushnell commented 11 hours ago

Describe the bug

We have a client who is using checkboxes in Formie and, when submitting the data to Salesforce, they receive the following error:

2024-10-31 10:05:23 [ERROR] Salesforce: API error: “[{"message":"Cannot deserialize instance of multipicklist from START_ARRAY value [line:1, column:842]","errorCode":"JSON_PARSER_ERROR"}]” vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:111

Steps to reproduce

  1. Setup a Salesforce connection
  2. Setup a multi-selection checkbox that should send the data to Salesforce

Form settings

Craft CMS version

4.11.5

Plugin version

2.1.28

Multi-site?

No

Additional context

No response

engram-design commented 4 hours ago

Seems to be working on my end. Can you send through what your Checkboxes field options are in Formie, and what the options look like for your Multi-Picklist in Salesforce? They need to match exactly.