Error Code 2200 when copy to a parquet destination

Bolun Eric Cui 20 Reputation points
2024-03-15T04:51:08.7266667+00:00

When copying data from Salesforce to a parquet destination. System prompts me this:

"errorCode": "2200", "message": "ErrorCode=InvalidParameter,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The value of the property '' is invalid: 'itemPath and objectApiName or reportId cannot be null in properties at the same time'.,Source=,''Type=System.ArgumentException,Message=itemPath and objectApiName or reportId cannot be null in properties at the same time,Source=Microsoft.Connectors.Salesforce,'", "failureType": "UserError", "target": "GroupAttendee", "details": []

It was working few days ago but suddently stopped. Any idea why?

{
    "name": "GroupAttendee",
    "type": "Copy",
    "dependsOn": [],
    "policy": {
        "timeout": "7.00:00:00",
        "retry": 0,
        "retryIntervalInSeconds": 30,
        "secureOutput": false,
        "secureInput": false
    },
    "userProperties": [],
    "typeProperties": {
        "source": {
            "type": "SalesforceV2Source",
            "SOQLQuery": "select \nskedhealthcare__Contact__c,\nskedhealthcare__Job__c\nfrom skedhealthcare__Group_Attendee__c \nwhere skedhealthcare__Job__r.sked__Job_Status__c <> 'Cancelled' \nand \n(skedhealthcare__Job__r.sked__Start__c = THIS_WEEK OR skedhealthcare__Job__r.sked__Start__c = NEXT_N_WEEKS:3 )"
        },
        "sink": {
            "type": "ParquetSink",
            "storeSettings": {
                "type": "AzureBlobFSWriteSettings"
            },
            "formatSettings": {
                "type": "ParquetWriteSettings"
            }
        },
        "enableStaging": false,
        "validateDataConsistency": false,
        "translator": {
            "type": "TabularTranslator",
            "typeConversion": true,
            "typeConversionSettings": {
                "allowDataTruncation": true,
                "treatBooleanAsNumber": false
            }
        }
    },
    "inputs": [
        {
            "referenceName": "Source_SF_MasterRoster_BR",
            "type": "DatasetReference"
        }
    ],
    "outputs": [
        {
            "referenceName": "SInk_SF_JobClient_Group",
            "type": "DatasetReference"
        }
    ]
}

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,355 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,509 questions
0 comments No comments
{count} votes

Accepted answer
  1. Smaran Thoomu 9,045 Reputation points Microsoft Vendor
    2024-03-15T05:26:50.5633333+00:00

    Hi @Bolun Eric Cui

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer .

    Issue: When copying data from Salesforce to a parquet destination. System prompts me this:

    "errorCode": "2200", "message": "ErrorCode=InvalidParameter,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The value of the property '' is invalid: 'itemPath and objectApiName or reportId cannot be null in properties at the same time'.,Source=,''Type=System.ArgumentException,Message=itemPath and objectApiName or reportId cannot be null in properties at the same time,Source=Microsoft.Connectors.Salesforce,'", "failureType": "UserError", "target": "GroupAttendee", "details": []

    It was working few days ago but suddently stopped. Any idea why?

    Solution: I fixed as the datasource is mssing object name, which was working without it few days ago, I have added it in. Thanks!

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

    I hope this helps!

    If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.


    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Bolun Eric Cui 20 Reputation points
    2024-03-15T05:17:51.5166667+00:00

    Sorry I fixed as the datasource is mssing object name, which was working without it few days ago, I have added it in. Thanks!