‘Failed to execute script. Exception: 'Odbc Operation Failed.’ Error in Script activity in ADF

Harshvardhan Medikonda 5 Reputation points
2024-05-16T10:51:36.78+00:00

Hi Team,

We have few pipelines in ADF where we are fetching the Data from multiple API endpoints using Copy Activity. We are connecting to API by leveraging ‘Rest API’ linked service and Integration Runtime(IR) as ‘AutoResolveIntegrationRuntime’. We are able to download the data from API and storing the data in JSON file format in Blob storage. Currently we are facing an error ‘Failed to execute script. Exception: 'Odbc Operation Failed’ while loading the data file from Blob storage to Snowflake Data warehouse using script activity .The pipelines are failing from Monday(05/13) because of this error. It would be helpful if you could help us to resolve this issue.

Error message: ‘Failed to execute script. Exception: 'Odbc Operation Failed.’
Failure type :User configuration issue

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,837 questions
{count} vote

1 answer

Sort by: Most helpful
  1. phemanth 7,190 Reputation points Microsoft Vendor
    2024-05-20T03:33:15.5366667+00:00

    @Harshvardhan Medikonda Welcome to Microsoft Q&A platform and thanks for posting your question.

    Can you try with this Solution, Selecting the option from Query to Non-Query made it work in the settings of Script Activity


    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.