question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

LUIS Rate Limit Error

See original GitHub issue

Describe the bug

Publishing the sample ToDoBotWithLuisSample, to which I added 2 intents.

Version

v1.1.1 Bot Framework Composer Version: 1.1.1 Electron: 8.2.4 Chrome: 80.0.3987.165 NodeJS: 12.13.0 V8: 8.0.426.27-electron.0

Browser

  • Electron distribution
  • Chrome
  • Safari
  • Firefox
  • Edge

OS

  • macOS
  • Windows
  • Ubuntu

To Reproduce

Steps to reproduce the behavior:

  1. Go to Publish
  2. Click on ‘Publish Selected Profile’
  3. See error

429 - “{"error":{"code":"429","message": "Requests to the user - Get LUIS azure accounts Operation under LUIS Programmatic APIs v2.0 have exceeded rate limit of your current LUIS.Authoring F0 pricing tier. Please retry after 1 second. To increase your rate limit switch to a paid tier."}}”

Expected behavior

Screenshots

Additional context

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
kdubiouscommented, Oct 15, 2020

I blew everything away (10 minutes) and created a new set of services with the provisionCompser.js script (25 minutes). So far I’ve been able to develop based off the EchoBot sample and publish with no issues. Not sure if it’s a problem with the “TODO with LUIS” sample. The EchoBot is only creating one “APP” in the Luis.ai site. The “TODO with LUIS” created 5 or so.

0reactions
nitroincommented, Oct 23, 2020

In a desperate attempt to have our bot published I tried directly compiling and using Composer from source instead of the electron distribution. Not luck whatsoever.

Steps

To repro the issue:

  • Checkout main
  • Build and start Composer
  • Start a brand new Bot from template (Todo with LUIS)
  • Go to the project folder on disk and provide all the needed Azure resources with /scripts/provisionComposer.js
  • Provision Azure resources succesfully
  • Return to Composer, select the previously created Bot
  • Click on the menu “Publish”
  • Create a publish profile and provide the json configuration file from provisionComposer.js
  • Click to “Publish to selected profile”
  • Wait

Expected behavior

Deploy the default ToDo template succesfully.

Actual behavior

Deploy failed.

Additional info

Last logs:

{
  "status": "DEPLOY_INFO",
  "message": "start publish luis"
}
{
  "status": "DEPLOY_ERROR",
  "message": "{\"name\":\"StatusCodeError\",\"statusCode\":429,\"message\":\"429 - \\\"{\\\\\\\"error\\\\\\\":{\\\\\\\"code\\\\\\\":\\\\\\\"429\\\\\\\",\\\\\\\"message\\\\\\\": \\\\\\\"Requests to the user - Get LUIS azure accounts Operation under LUIS Programmatic APIs v2.0 have exceeded rate limit of your current LUIS.Authoring F0 pricing tier. Please retry after 1 second. To increase your rate limit switch to a paid tier.\\\\\\\"}}\\\"\",\"error\":\"{\\\"error\\\":{\\\"code\\\":\\\"429\\\",\\\"message\\\": \\\"Requests to the user - Get LUIS azure accounts Operation under LUIS Programmatic APIs v2.0 have exceeded rate limit of your current LUIS.Authoring F0 pricing tier. Please retry after 1 second. To increase your rate limit switch to a paid tier.\\\"}}\",\"options\":{},\"response\":{\"statusCode\":429},\"stack\":\"StatusCodeError: 429 - \\\"{\\\\\\\"error\\\\\\\":{\\\\\\\"code\\\\\\\":\\\\\\\"429\\\\\\\",\\\\\\\"message\\\\\\\": \\\\\\\"Requests to the user - Get LUIS azure accounts Operation under LUIS Programmatic APIs v2.0 have exceeded rate limit of your current LUIS.Authoring F0 pricing tier. Please retry after 1 second. To increase your rate limit switch to a paid tier.\\\\\\\"}}\\\"\\n    at new StatusCodeError (/var/home/kunta/Work/fts/BotFramework-Composer/extensions/azurePublish/node_modules/request-promise-core/lib/errors.js:32:15)\\n    at Request.plumbing.callback (/var/home/kunta/Work/fts/BotFramework-Composer/extensions/azurePublish/node_modules/request-promise-core/lib/plumbing.js:104:33)\\n    at Request.RP$callback [as _callback] (/var/home/kunta/Work/fts/BotFramework-Composer/extensions/azurePublish/node_modules/request-promise-core/lib/plumbing.js:46:31)\\n    at Request.self.callback (/var/home/kunta/Work/fts/BotFramework-Composer/extensions/azurePublish/node_modules/request/request.js:185:22)\\n    at Request.emit (events.js:315:20)\\n    at Request.<anonymous> (/var/home/kunta/Work/fts/BotFramework-Composer/extensions/azurePublish/node_modules/request/request.js:1154:10)\\n    at Request.emit (events.js:315:20)\\n    at IncomingMessage.<anonymous> (/var/home/kunta/Work/fts/BotFramework-Composer/extensions/azurePublish/node_modules/request/request.js:1076:12)\\n    at Object.onceWrapper (events.js:421:28)\\n    at IncomingMessage.emit (events.js:327:22)\\n    at endReadableNT (_stream_readable.js:1220:12)\\n    at processTicksAndRejections (internal/process/task_queues.js:84:21)\"}"
}

@cwhitten what’s the desidered behavior? This issue is actionable or we need to file another Issue?

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Limits - LUIS - Azure | Microsoft Learn
500 phrase lists. 10 global phrase lists due to the model as a feature limit. Non-interchangeable phrase list has max of 5,000 phrases....
Read more >
Azure Cognitive Services - Language Understanding (LUIS ...
BlockedCalls, Number of calls that exceeded rate or quota limit, ApiName, OperationName, Region, Count, ✔️. ClientErrors, Number of calls with client-side ...
Read more >
How can we increase throughput on the LUIS programmatic ...
When using the LUIS programmatic API, we get frequent 429 errors ("too many requests") when doing a half-dozen GET and POST requests. We've ......
Read more >
LUIS Programmatic APIs v3.0 - Microsoft Cognitive Services
Rate limit is exceeded. ... Total monthly key quota limit exceeded ... @ECHO OFF curl -v -X GET "https://chinanorth.api.cognitive.azure.cn/luis/authoring/v3 ...
Read more >
Best practices for avoiding rate limiting | Zendesk Developer ...
Catching errors caused by rate limiting ... For each request, you can check to see if you've bumped into the rate limit. If...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found