microsoft / microsoft/PowerPlatformConnectors

[BUG] Snowflake connector fails to access API

Open
#2,887 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
1.3k
Forks
1.5k
Avg merge
5d 15h
Merged PRs (30d)
11

Description

Type of Connector

Certified Connector

Name of Connector

Snowflake

Describe the bug

Snowflake connector could previously access data by using the Execute SQL Statement activity and return data with no issues. As of Monday 8/21/2023, we are no longer able to retrieve data in any flow that uses this connector. All instances of the connector return the same error.

The API 'snowflakeip' returned an invalid response for workflow operation 'get_warehouses' of type 'OpenApiConnection'. Error details: 'The API operation 'ExecuteSqlStatement' requires the property 'body' to be of type 'Object' but is of type 'String'.'

Is this a security bug?

No, this is not a security bug

What is the severity of this bug?

Severity 1 - Connector is broken or there's a very serious issue

To Reproduce

Create a Power Automate Flow
Create an Execute SQL Statement Activity
Create connection to Snowflake
Enter required fields
Run flow
Retrieve results object

Expected behavior

After filling out required fields such as instance and SQL the query should be sent to Snowflake and return a json body containing the results.

Environment summary

Power Automate
Snowflake Connector

Additional context

Error Message: : The API 'snowflakeip' returned an invalid response for workflow operation 'get_warehouses' of type 'OpenApiConnection'. Error details: 'The API operation 'ExecuteSqlStatement' requires the property 'body' to be of type 'Object' but is of type 'String'.'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with a Power Automate flow using the Snowflake connector's Execute SQL Statement activity. Inspect the request and response around the reported get_warehouses operation; done means the query is accepted and the flow returns the expected JSON results.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.