felipearcaro-buildium opened a new issue, #63930:
URL: https://github.com/apache/airflow/issues/63930

   ### Apache Airflow Provider(s)
   
   salesforce
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-salesforce 5.12.2
   
   ### Apache Airflow version
   
   2.11.0
   
   ### Operating System
   
   Windows 11
   
   ### Deployment
   
   Astronomer
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
   When using the `SalesforceBulkOperator` operator, `upsert` and `update` 
operations fail silently.
   
   ### What you think should happen instead
   
   When `upsert` or `update` operations fail, a `SalesforceGeneralError` (or a 
more specific error) should be raised.
   
   ### How to reproduce
   
   Create a DAG task and provide a payload that doesn't match the Asset object 
in Salesforce:
   
   ```python
   outbound_task = SalesforceBulkOperator(
     task_id="test_task_id",
     operation="update",
     object_name="Asset"
     payload=[{"Wrong_Asset_Key": "Account One"}],
     batch_size=200
   )
   ```
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to