verbb / formie

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

[Possible Bug] Salesforce: Unable to create/update fields #1981

Open mnlmaier opened 1 month ago

mnlmaier commented 1 month ago

Describe the bug

Hello,

In one of our projects, we are encountering the following issue when trying to send submissions to a Salesforce form:

[ERROR] Salesforce Dev: API error: “[{"message":"Unable to create/update fields: IsClosedOnCreate. Please check the security settings of this field and verify that it is read/write for your profile or permission set.","errorCode":"INVALID_FIELD_FOR_INSERT_UPDATE","fields":["IsClosedOnCreate"]}]”

Salesforce and its permissions are managed by our client. According to their checks, all permissions are set correctly. While they are investigating on their end (to see if they are still somehow missing a permission set), I wanted to confirm that in recent weeks, nothing API related changed which would require a Formie update on our end.

While I am pretty sure that this is unrelated to Formie and needs to be configured in Salesforce, I still wanted to confirm.

Thanks in advance!

Steps to reproduce

Very client specific, not really able to give an abstracted how-to.

Form settings

Craft CMS version

Craft Pro 4.5.5

Plugin version

2.0.36

Multi-site?

Yes

Additional context

No response

engram-design commented 1 month ago

The IsClosedOnCreate field doesn't seem to be coming through the API on my end. I know it's a Salesforce-available field for a Case object, but it doesn't seem to appear for me.

image

Maybe you can confirm what you see in Salesforce for that field at lightning/setup/ObjectManager/Case/FieldsAndRelationships/IsClosedOnCreate/view?

image

I should also mention that Formie 2.0.36 is almost a year old now, and it might pay to update, although I don't believe there's anything Salesforce related in the changelog since then.