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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
IAZ
Frequent 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 III
Advocate III

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 III
Advocate III

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Fabric Update Carousel

Fabric Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.