This is killing me!!!
I'm building a canvas app to interact with data in our Snowflake database. From within Power Apps, I've built 3 instant flows to query data from Snowflake to use in table variables. When I test them in Power Apps, they run without errors. When I test them in Power Automate they run without errors and show JSON structured data as Raw Output. When I attempt to call the flows from within my app: "Set(tblFlowData, SelectSFData.Run())", I get nothing. Last week I had one flow working using: "Set(tblFlowData, SelectSFData.Run().data)". This week, after a refresh of the flows, I get an error: "Name isn't valid. 'data' isn't recognized."
From Power Automate, here is a sample of what is being output (I've removed any actual data in the two records):
{
"statusCode": "200",
"schema": {
"type": "object",
"properties": {
"CONTRACT_ID": {
"type": "integer"
},
"CENTER_ID_NOTES": {
"type": "string"
},
"CENTER_STATES": {
"type": "string"
},
"CONTRACTED_PAYER_NAME": {
"type": "string"
},
"CONTRACTED_SHORT_NAME": {
"type": "string"
},
"CONTRACTED_TYPE": {
"type": "string"
},
"PLAN_TYPE": {
"type": "string"
},
"PRODUCT_NAMES": {
"type": "string"
},
"RATE_EFF_DATE": {
"type": "string"
},
"RATE_END_DATE": {
"type": "string"
},
"NEGOTIATION_DATE": {
"type": "string"
},
"INITIAL_TERM_END_DATE": {
"type": "string"
},
"CONTRACT_EFF_DATE": {
"type": "string"
},
"CONTRACT_END_DATE": {
"type": "string"
},
"CONTRACT_LEVEL": {
"type": "string"
},
"CONTRACT_TYPE": {
"type": "string"
},
"NEGOTIATED_BY": {
"type": "string"
},
"MID_TERM_INC_1": {
"type": "string"
},
"MID_TERM_INC_2": {
"type": "string"
},
"MID_TERM_INC_3": {
"type": "string"
},
"MID_TERM_INC_NOTES": {
"type": "string"
},
"XWALK_FS_UPDATE_DATE": {
"type": "string"
},
"APPLY_SEQUESTRATION": {
"type": "boolean"
},
"DEFAULT_RATE_MAX": {
"type": "string"
},
"DEFAULT_PCT": {
"type": "string"
},
"DEFAULT_TYPE": {
"type": "string"
},
"CASE_RATE": {
"type": "string"
},
"PCT_BILLED_RATE": {
"type": "string"
},
"MAX_PER_PROC": {
"type": "string"
},
"MAX_PER_CASE": {
"type": "string"
},
"HST_NOTES_250_CHAR_LIMIT_": {
"type": "string"
},
"OTHER_NOTES": {
"type": "string"
},
"PREV_CONT_ID": {
"type": "integer"
}
},
"required": [
"CONTRACT_ID",
"CENTER_ID_NOTES",
"CENTER_STATES",
"CONTRACTED_PAYER_NAME",
"CONTRACTED_SHORT_NAME",
"CONTRACTED_TYPE",
"PLAN_TYPE",
"PRODUCT_NAMES",
"RATE_EFF_DATE",
"RATE_END_DATE",
"NEGOTIATION_DATE",
"INITIAL_TERM_END_DATE",
"CONTRACT_EFF_DATE",
"CONTRACT_END_DATE",
"CONTRACT_LEVEL",
"CONTRACT_TYPE",
"NEGOTIATED_BY",
"MID_TERM_INC_1",
"MID_TERM_INC_2",
"MID_TERM_INC_3",
"MID_TERM_INC_NOTES",
"XWALK_FS_UPDATE_DATE",
"APPLY_SEQUESTRATION",
"DEFAULT_RATE_MAX",
"DEFAULT_PCT",
"DEFAULT_TYPE",
"CASE_RATE",
"PCT_BILLED_RATE",
"MAX_PER_PROC",
"MAX_PER_CASE",
"HST_NOTES_250_CHAR_LIMIT_",
"OTHER_NOTES",
"PREV_CONT_ID"
]
},
"body": {
"data": [
{
"CONTRACT_ID": 155,
"CENTER_ID_NOTES": "null",
"CENTER_STATES": "AZ",
"CONTRACTED_PAYER_ID": 53,
"CONTRACTED_PAYER_NAME": "A Name",
"CONTRACTED_SHORT_NAME": "A Short Name",
"CONTRACTED_TYPE": "A contracted type.",
"PLAN_TYPE": "A plan type.",
"PRODUCT_NAMES": "A product name or names.",
"RATE_EFF_DATE": "1/1/2000",
"RATE_END_DATE": "1/1/2000",
"NEGOTIATION_DATE": "1/1/2000",
"INITIAL_TERM_END_DATE": "1/1/2000",
"CONTRACT_EFF_DATE": "1/1/2000",
"CONTRACT_END_DATE": "null",
"CONTRACT_LEVEL": "Low",
"CONTRACT_TYPE": "ReadySetGo",
"NEGOTIATED_BY": "Someone",
"MID_TERM_INC_1": "null",
"MID_TERM_INC_2": "null",
"MID_TERM_INC_3": "null",
"MID_TERM_INC_NOTES": "null",
"XWALK_FS_UPDATE_DATE": "null",
"APPLY_SEQUESTRATION": false,
"DEFAULT_RATE_MAX": "null",
"DEFAULT_PCT": "null",
"DEFAULT_TYPE": "null",
"CASE_RATE": "null",
"PCT_BILLED_RATE": "null",
"MAX_PER_PROC": "null",
"MAX_PER_CASE": "null",
"HST_NOTES_250_CHAR_LIMIT_": "Some Notes.",
"OTHER_NOTES": "null",
"PREV_CONT_ID": 0
},
{
"CONTRACT_ID": 155,
"CENTER_ID_NOTES": "null",
"CENTER_STATES": "AZ",
"CONTRACTED_PAYER_ID": 53,
"CONTRACTED_PAYER_NAME": "A Name",
"CONTRACTED_SHORT_NAME": "A Short Name",
"CONTRACTED_TYPE": "A contracted type.",
"PLAN_TYPE": "A plan type.",
"PRODUCT_NAMES": "A product name or names.",
"RATE_EFF_DATE": "1/1/2000",
"RATE_END_DATE": "1/1/2000",
"NEGOTIATION_DATE": "1/1/2000",
"INITIAL_TERM_END_DATE": "1/1/2000",
"CONTRACT_EFF_DATE": "1/1/2000",
"CONTRACT_END_DATE": "null",
"CONTRACT_LEVEL": "Low",
"CONTRACT_TYPE": "ReadySetGo",
"NEGOTIATED_BY": "Someone",
"MID_TERM_INC_1": "null",
"MID_TERM_INC_2": "null",
"MID_TERM_INC_3": "null",
"MID_TERM_INC_NOTES": "null",
"XWALK_FS_UPDATE_DATE": "null",
"APPLY_SEQUESTRATION": false,
"DEFAULT_RATE_MAX": "null",
"DEFAULT_PCT": "null",
"DEFAULT_TYPE": "null",
"CASE_RATE": "null",
"PCT_BILLED_RATE": "null",
"MAX_PER_PROC": "null",
"MAX_PER_CASE": "null",
"HST_NOTES_250_CHAR_LIMIT_": "Some Notes.",
"OTHER_NOTES": "null",
"PREV_CONT_ID": 0
}
]
}
}
Can anyone tell me what I'm doing wrong here? Why am I getting that error now when it worked last week and what do I need to do to fix this?