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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
IAZ
Helper I
Helper I

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

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

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 and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Fabric Update Carousel

Fabric Monthly Update - March 2026

Check out the March 2026 Fabric update to learn about new features.