ballerina-platform / ballerina-library

The Ballerina Library
https://ballerina.io/learn/api-docs/ballerina/
Apache License 2.0
136 stars 64 forks source link

salesforce upsert does not handle the upsert response #7349

Open frickelnix opened 1 week ago

frickelnix commented 1 week ago

Description

if you try to upsert a object you get the error message error PayloadValidationClientError ("payload validation failed: Type conversion failed due to typedesc and value mismatch.",error TypeConversionError ("Type conversion failed due to typedesc and value mismatch.",error("{ballerina}ConversionError",message="'string' value cannot be converted to '()'"))) because the upsert response not not handled .

Steps to Reproduce

try to upsert a account error? upsert = salesforce->upsert("Account", "ExternalId__c", ar.AccountNumber, accountRecord);

Version

8.1.0

Environment Details (with versions)

No response