Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error: The provided 'Wait' action 'interval' value '1' 'Second' is not supported for the 'Consumption' SKU. #90

@lukashaenjes

Description

@lukashaenjes

When running the "Run Copilot Tests" flow, the solution fails with the following error:

Action 'Delay' failed: The provided 'Wait' action 'interval' value '1' 'Second' is not supported for the 'Consumption' SKU. The value must be between '5' seconds and '366' day(s).

Image

I fixed this locally by manually setting the timeout in the "Delay" node from 1 to 5:

{
  "type": "Wait",
  "inputs": {
    "interval": {
      "count": "@if(equals(coalesce(outputs('Get_Copilot_Configuration')?['body/cat_delaybetweenbatches'], 0), 0), 5, outputs('Get_Copilot_Configuration')?['body/cat_delaybetweenbatches'])",
      "unit": "Second"
    }
  },
  "runAfter": {
    "Increment_Page": [
      "Succeeded"
    ]
  },
  "metadata": {
    ...
  }
}

I suggest adjusting this here so it is part of the managed solution right away:

"count": "@if(equals(coalesce(outputs('Get_Copilot_Configuration')?['body/cat_delaybetweenbatches'], 0), 0), 1, outputs('Get_Copilot_Configuration')?['body/cat_delaybetweenbatches'])",

Metadata

Metadata

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions