Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
IAZ
Regular Visitor

Copy Activity Fabric Pipeline error

Trying to copy data from Oracle using copy activity and the follwing message comes up:

 

ErrorCode=UserErrorWriteFailedFileOperation,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The file operation is failed, upload file failed at path:'.,Source=Microsoft.DataTransfer.Common,''Type=System.ArgumentException,Message=Could not determine JSON object type for type Microsoft.DataTransfer.DataTypes.OracleBigDecimal.,Source=Newtonsoft.Json,'
 
Schema used is as below and for test pupose used just one column:
[
  {
    "source": {
      "table": "IFS...."
    },
    "destination": {
      "fileName": "dbo.tt.json"
    },
    "WaterMark": {
      "table": "WIFSAPP_C"
    },
    "mapping": {
      "type": "TabularTranslator",
      "mappings": [
        {
          "source": {
            "name": "INVOICE_ID",
            "type": "Float"
          },
          "sink": {
            "name": "INVOICE_ID",
            "type": "Float",
            "physicalType": "Float"
          }
        }
      ],
      "typeConversion": true,
      "typeConversionSettings": {
        "allowDataTruncation": true,
        "treatBooleanAsNumber": false
      }
    }
  }
]
 
1 ACCEPTED SOLUTION
mabdollahi
Advocate II
Advocate II

Hi @IAZ 

It looks like the issue is with how Oracle’s BigDecimal type maps to JSON — it doesn’t match well with a simple Float. Try casting INVOICE_ID as FLOAT in your SQL query, like:

 

SELECT CAST(INVOICE_ID AS FLOAT) AS INVOICE_ID FROM IFS....

This helps avoid serialization errors. Also, double-check your mapping settings and source data to make sure everything lines up with your target types.

Regards,
Mehrdad

View solution in original post

5 REPLIES 5
v-prasare
Community Support
Community Support

Hi @IAZ , 

In this scenario i suggest you to raise a support ticket here. so, that they can assit you in addressing the issue you are facing. please follow below link on how to raise a support ticket:

How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn

 

 

 

 

Thanks,

Prashanth Are

MS Fabric community support

HimanshuS-msft
Microsoft Employee
Microsoft Employee

I am facing the same issue .

mabdollahi
Advocate II
Advocate II

Hi @IAZ 

It looks like the issue is with how Oracle’s BigDecimal type maps to JSON — it doesn’t match well with a simple Float. Try casting INVOICE_ID as FLOAT in your SQL query, like:

 

SELECT CAST(INVOICE_ID AS FLOAT) AS INVOICE_ID FROM IFS....

This helps avoid serialization errors. Also, double-check your mapping settings and source data to make sure everything lines up with your target types.

Regards,
Mehrdad

That worked. cast as varchar2. many thanks

Glad that it worked. 

Helpful resources

Announcements
May FBC25 Carousel

Fabric Monthly Update - May 2025

Check out the May 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors