web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Snowflake "Convert res...
Power Automate
Answered

Snowflake "Convert result set" returns 'System.FormatException' error

(0) ShareShare
ReportReport
Posted on by 75

Hi all - attempting to use the Snowflake connector in Power Automate as follows...

djworsdell_0-1691469708263.png


When I attempt to run/test the above flow, I receive the following error in the "Convert result set rows from array to objects" step after ~15 minutes and 2x re-tries...

 

System.FormatException:System.FormatException: Input string was not in a correct format.
 at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
 at System.Int64.Parse(String s)
 at Microsoft.PowerPlatform.ConnectorPlatform.CustomCodeConnector.CSharpScript.InProcess.Script.ConvertToObjects()

 

Has anyone seen something similar before, and are aware of how to resolve the issue? This error looks similar to this recent post last month. Thanks in advance!

Categories:
I have the same question (0)
  • Verified answer
    djworsdell Profile Picture
    75 on at

    Update: for those who stumble across this thread in the future, I've found that the Snowflake (Preview) connector as of August 2023 seems to cut off the response of 'SQL Statement Execution' when returning large data sets. Your milage might vary, although I found this was around ~200 rows with ~70 columns.

     

    The solution was to pass through one or more filters from Power Apps into the SQL statement prior to execution to reduce the number of rows which are to be returned. Once filtered down to a more manageable level of data, the Snowflake (Preview) connector runs in 2 - 3 seconds without problem.

     

    Hopefully this is addressed in future versions of the connector! Doesn't seem to be too much conversation about Snowflake in the Power Platform community at this point in time.

  • Sja855 Profile Picture
    61 on at

    Hello @djworsdell 

     

    I also had same issue, my aim is to pull the existing data which is 100 rows and 10 columns from Snowflake and display it in the gallery. but ended facing the same issue. are there any workarounds to fix this issue at least now?

     

    Thanks in Advance!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard