SOLVED

Facing 429 Error Now A Days

%3CLINGO-SUB%20id%3D%22lingo-sub-1107745%22%20slang%3D%22en-US%22%3EFacing%20429%20Error%20Now%20A%20Days%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1107745%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20integrate%20Hubot%20with%20MS%20Teams%20and%20done%20with%20that%20stuff%20by%20following%20some%20useful%20links%20that%20are%20available.I%20have%20built%20an%20application%20using%20hubot%20framework%20and%20was%20uploaded%20into%20a%20channel%20previously%20a%20few%20months%20ago%20and%20worked%20at%20that%20moment.So%20I%20have%20uploaded%20the%20same%20into%20some%20other%20channel%20recently%20and%20facing%20an%20error%20as%20mentioned%20below%3A%3CBR%20%2F%3EERROR%20Error%3A%20POST%20to%20'%3CA%20href%3D%22https%3A%2F%2Fsmba.trafficmanager.net%2Famer%2Fv3%2Fconversations%2F19%253A6e011df0be3a4eb7934018bcf460370f%2540thread.skype%253Bmessageid%253D1578941378382%2Factivities%2F1578941378382%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fsmba.trafficmanager.net%2Famer%2Fv3%2Fconversations%2F19%253A6e011df0be3a4eb7934018bcf460370f%2540thread.skype%253Bmessageid%253D1578941378382%2Factivities%2F1578941378382%3C%2FA%3E'%20failed%3A%20%5B429%5D%20%22%3C%2FP%3E%3CP%3Eat%20Request._callback%20(%2Fopt%2Fhip_bot%2Fnode_modules%2Fbotbuilder%2Flib%2Fbots%2FChatConnector.js%3A675%3A46)%3C%2FP%3E%3CP%3Eat%20Request.self.callback%20(%2Fopt%2Fhip_bot%2Fnode_modules%2Frequest%2Frequest.js%3A185%3A22)%3C%2FP%3E%3CP%3Eat%20Request.emit%20(events.js%3A210%3A5)%3C%2FP%3E%3CP%3Eat%20Request.%3CANONYMOUS%3E%20(%2Fopt%2Fhip_bot%2Fnode_modules%2Frequest%2Frequest.js%3A1161%3A10)%3C%2FANONYMOUS%3E%3C%2FP%3E%3CP%3Eat%20Request.emit%20(events.js%3A210%3A5)%3C%2FP%3E%3CP%3Eat%20IncomingMessage.%3CANONYMOUS%3E%20(%2Fopt%2Fhip_bot%2Fnode_modules%2Frequest%2Frequest.js%3A1083%3A12)%3C%2FANONYMOUS%3E%3C%2FP%3E%3CP%3Eat%20Object.onceWrapper%20(events.js%3A299%3A28)%3C%2FP%3E%3CP%3Eat%20IncomingMessage.emit%20(events.js%3A215%3A7)%3C%2FP%3E%3CP%3Eat%20endReadableNT%20(_stream_readable.js%3A1184%3A12)%3C%2FP%3E%3CP%3Eat%20processTicksAndRejections%20(internal%2Fprocess%2Ftask_queues.js%3A80%3A21)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20recent%20days%20when%20I%20am%20trying%20to%20run%20the%20same%20app%20it%20is%20throwing%20the%20above%20mentioned%20error%20and%20as%20per%20my%20guess%20form%20the%20last%20line%20of%20the%20error%20it%20is%20found%20to%20be%20an%20429%20Error%20(Too%20Many%20Requests)%20and%20could%20anyone%20please%20help%20me%20on%20sorting%20this%20issue.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%2C%3C%2FP%3E%3CP%3EAcharya%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1107745%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EChat%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1114169%22%20slang%3D%22en-US%22%3ERe%3A%20Facing%20429%20Error%20Now%20A%20Days%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1114169%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F478812%22%20target%3D%22_blank%22%3E%40AcharyaTejaswi963%3C%2FA%3E%26nbsp%3B%2C%20Could%20you%20please%20send%20me%20the%20logs%20of%20request%2Fmessages%20sent%20before%20the%20429%20error%20occurs%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1114643%22%20slang%3D%22en-US%22%3ERe%3A%20Facing%20429%20Error%20Now%20A%20Days%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1114643%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F371090%22%20target%3D%22_blank%22%3E%40Trinetra-MSFT%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20response.Please%20find%20the%20below%20logs%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20%40User%20indurthy%2C%20acharya%20tejaswi%20requested%20dialog%20incident%20creation%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20Channel%2FMessage%20ID%20is%3A%2019%3A6e011df0be3a4eb7934018bcf460370f%40thread.skype%3Bmessageid%3D1579176143832%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20User%20room%3A%2019%3A6e011df0be3a4eb7934018bcf460370f%40thread.skypeName%20passed%3A%20indurthy%2C%20acharya%20tejaswi%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-botframework-adapter%3A%20send%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-botframework-adapter%3A%20reply%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-botframework-middleware%3A%20creating%20middleware...%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-msteams%3A%20Restricting%20tenants%20to%20%5B%5C%2260ae5b28-c69f-4658-85bf-98ac6db337fa%5C%22%5D%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-msteams%3A%20toSendable%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-botframework-adapter%3A%20send%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-botframework-adapter%3A%20reply%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-botframework-middleware%3A%20creating%20middleware...%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-msteams%3A%20Restricting%20tenants%20to%20%5B%5C%2260ae5b28-c69f-4658-85bf-98ac6db337fa%5C%22%5D%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-msteams%3A%20toSendable%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-botframework-adapter%3A%20send%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-botframework-adapter%3A%20reply%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-botframework-middleware%3A%20creating%20middleware...%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-msteams%3A%20Restricting%20tenants%20to%20%5B%5C%2260ae5b28-c69f-4658-85bf-98ac6db337fa%5C%22%5D%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-msteams%3A%20toSendable%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-botframework-adapter%3A%20send%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-botframework-adapter%3A%20reply%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-botframework-middleware%3A%20creating%20middleware...%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-msteams%3A%20Restricting%20tenants%20to%20%5B%5C%2260ae5b28-c69f-4658-85bf-98ac6db337fa%5C%22%5D%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-msteams%3A%20toSendable%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EAfter%20this%20I%20am%20getting%20the%20following%20error%20as%20I%20have%20mentioned%20in%20the%20previous%20message%3A%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A02%3A24%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20ERROR%20Error%3A%20POST%20to%20'%3CA%20href%3D%22https%3A%2F%2Fsmba.trafficmanager.net%2Famer%2Fv3%2Fconversations%2F19%253A6e011df0be3a4eb7934018bcf460370f%2540thread.skype%253Bmessageid%253D1579176143832%2Factivities%2F1579176143832%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsmba.trafficmanager.net%2Famer%2Fv3%2Fconversations%2F19%253A6e011df0be3a4eb7934018bcf460370f%2540thread.skype%253Bmessageid%253D1579176143832%2Factivities%2F1579176143832%3C%2FA%3E'%20failed%3A%20%5B429%5D%3CBR%20%2F%3Eat%20Request._callback%20(%2Fopt%2Fhip_bot%2Fnode_modules%2Fbotbuilder%2Flib%2Fbots%2FChatConnector.js%3A675%3A46)%3CBR%20%2F%3Eat%20Request.self.callback%20(%2Fopt%2Fhip_bot%2Fnode_modules%2Frequest%2Frequest.js%3A185%3A22)%3CBR%20%2F%3Eat%20Request.emit%20(events.js%3A210%3A5)%3CBR%20%2F%3Eat%20Request.%3CANONYMOUS%3E%20(%2Fopt%2Fhip_bot%2Fnode_modules%2Frequest%2Frequest.js%3A1161%3A10)%3CBR%20%2F%3Eat%20Request.emit%20(events.js%3A210%3A5)%3CBR%20%2F%3Eat%20IncomingMessage.%3CANONYMOUS%3E%20(%2Fopt%2Fhip_bot%2Fnode_modules%2Frequest%2Frequest.js%3A1083%3A12)%3CBR%20%2F%3Eat%20IncomingMessage.emit%20(events.js%3A215%3A7)%3CBR%20%2F%3Eat%20endReadableNT%20(_stream_readable.js%3A1184%3A12)%3CBR%20%2F%3Eat%20processTicksAndRejections%20(internal%2Fprocess%2Ftask_queues.js%3A80%3A21)%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A05%3A05%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-botframework-adapter%3A%20onBotEvents%3CBR%20%2F%3E%5BThu%20Jan%2016%202020%2012%3A05%3A05%20GMT%2B0000%20(Coordinated%20Universal%20Time)%5D%20INFO%20hubot-botframework-adapter%3A%20Handling%20activity%20Channel%3A%20msteams%3B%20type%3A%20message%3C%2FANONYMOUS%3E%3C%2FANONYMOUS%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20per%20the%20my%20requirement%20the%20functionality%20what%20I%20intended%20to%20do%20is%20working%20fine%20within%20my%20local%20environment.But%20facing%20the%20error%20that%20I%20have%20mentioned%20in%20the%20previous%20message%20when%20trying%20to%20run%20within%20the%20ms%20teams.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20shared%20screenshots%20of%20the%20sequence%20of%20question%20%26amp%3B%20answers%20that%20are%20working%20in%20my%20local%20environment.Please%20find%20the%20attached%20images%20and%20let%20me%20know%20if%20you%20need%20any%20further%20info%26nbsp%3Bfrom%20my%20end.%3C%2FP%3E%3CP%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1117444%22%20slang%3D%22en-US%22%3ERe%3A%20Facing%20429%20Error%20Now%20A%20Days%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1117444%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F478812%22%20target%3D%22_blank%22%3E%40AcharyaTejaswi963%3C%2FA%3E%26nbsp%3B%2C%20Thanks%20for%20the%20logs%20but%20it%20is%20very%20hard%20to%20read%2C%20Could%20you%20please%20send%20us%20the%20logs%20in%20a%20file%20so%20we%20can%20investigate%20it%20further.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1118407%22%20slang%3D%22en-US%22%3ERe%3A%20Facing%20429%20Error%20Now%20A%20Days%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1118407%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F371090%22%20target%3D%22_blank%22%3E%40Trinetra-MSFT%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20appended%20the%20required%20logs%20into%20a%20file%20as%20you%20requested%20and%20please%20find%20the%20attached%20document%20of%20it.let%20me%20know%20if%20you%20need%20any%20further%20info.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EAcharya%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1121670%22%20slang%3D%22en-US%22%3ERe%3A%20Facing%20429%20Error%20Now%20A%20Days%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1121670%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F478812%22%20target%3D%22_blank%22%3E%40AcharyaTejaswi963%3C%2FA%3E%26nbsp%3B%2C%20Thanks%20for%20sharing%20the%20information%2C%20We%20are%20looking%20into%20your%20issue.%20in%20the%20mean%20time%20could%20you%20please%20tell%20us%20how%20many%20messages%20were%20send%20to%26nbsp%3B%20bot%20which%20got%20reply%20before%20429%2C%20by%20seeing%20the%20logs%20it%20seems%20there%20were%208%20messages%20sent%2C%20Hubot%20rate%20limit%20should%20be%20causing%20the%20failure%20of%20message.%20We%20are%20investigating%20the%20cause%20of%20failure.%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1120904%22%20slang%3D%22en-US%22%3ERe%3A%20Facing%20429%20Error%20Now%20A%20Days%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1120904%22%20slang%3D%22en-US%22%3EHi%20Trinetra%2C%3CBR%20%2F%3E%3CBR%20%2F%3ECan%20you%20please%20make%20the%20process%20of%20your%20investigations%20a%20bit%20fast%20as%20we%20need%20this%20issue%20to%20be%20fixed%20as%20soon%20as%20possible.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%2C%3CBR%20%2F%3EAcharya%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi,

 

I am trying to integrate Hubot with MS Teams and done with that stuff by following some useful links that are available.I have built an application using hubot framework and was uploaded into a channel previously a few months ago and worked at that moment.So I have uploaded the same into some other channel recently and facing an error as mentioned below:
ERROR Error: POST to 'https://smba.trafficmanager.net/amer/v3/conversations/19%3A6e011df0be3a4eb7934018bcf460370f%40thread...' failed: [429] "

at Request._callback (/opt/hip_bot/node_modules/botbuilder/lib/bots/ChatConnector.js:675:46)

at Request.self.callback (/opt/hip_bot/node_modules/request/request.js:185:22)

at Request.emit (events.js:210:5)

at Request.<anonymous> (/opt/hip_bot/node_modules/request/request.js:1161:10)

at Request.emit (events.js:210:5)

at IncomingMessage.<anonymous> (/opt/hip_bot/node_modules/request/request.js:1083:12)

at Object.onceWrapper (events.js:299:28)

at IncomingMessage.emit (events.js:215:7)

at endReadableNT (_stream_readable.js:1184:12)

at processTicksAndRejections (internal/process/task_queues.js:80:21)

 

In the recent days when I am trying to run the same app it is throwing the above mentioned error and as per my guess form the last line of the error it is found to be an 429 Error (Too Many Requests) and could anyone please help me on sorting this issue.

Thanks,

Acharya

 

9 Replies

@AcharyaTejaswi963 , Could you please send me the logs of request/messages sent before the 429 error occurs? 

@Trinetra-MSFT ,

 

Thanks for your response.Please find the below logs:

[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO @User indurthy, acharya tejaswi requested dialog incident creation
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO Channel/Message ID is: 19:6e011df0be3a4eb7934018bcf460370f@thread.skype;messageid=1579176143832
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO User room: 19:6e011df0be3a4eb7934018bcf460370f@thread.skypeName passed: indurthy, acharya tejaswi
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-botframework-adapter: send
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-botframework-adapter: reply
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-botframework-middleware: creating middleware...
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-msteams: Restricting tenants to [\"60ae5b28-c69f-4658-85bf-98ac6db337fa\"]
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-msteams: toSendable
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-botframework-adapter: send
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-botframework-adapter: reply
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-botframework-middleware: creating middleware...
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-msteams: Restricting tenants to [\"60ae5b28-c69f-4658-85bf-98ac6db337fa\"]
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-msteams: toSendable
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-botframework-adapter: send
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-botframework-adapter: reply
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-botframework-middleware: creating middleware...
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-msteams: Restricting tenants to [\"60ae5b28-c69f-4658-85bf-98ac6db337fa\"]
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-msteams: toSendable
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-botframework-adapter: send
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-botframework-adapter: reply
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-botframework-middleware: creating middleware...
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-msteams: Restricting tenants to [\"60ae5b28-c69f-4658-85bf-98ac6db337fa\"]
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] INFO hubot-msteams: toSendable


After this I am getting the following error as I have mentioned in the previous message:
[Thu Jan 16 2020 12:02:24 GMT+0000 (Coordinated Universal Time)] ERROR Error: POST to 'https://smba.trafficmanager.net/amer/v3/conversations/19%3A6e011df0be3a4eb7934018bcf460370f%40thread...' failed: [429]
at Request._callback (/opt/hip_bot/node_modules/botbuilder/lib/bots/ChatConnector.js:675:46)
at Request.self.callback (/opt/hip_bot/node_modules/request/request.js:185:22)
at Request.emit (events.js:210:5)
at Request.<anonymous> (/opt/hip_bot/node_modules/request/request.js:1161:10)
at Request.emit (events.js:210:5)
at IncomingMessage.<anonymous> (/opt/hip_bot/node_modules/request/request.js:1083:12)
at IncomingMessage.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1184:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
[Thu Jan 16 2020 12:05:05 GMT+0000 (Coordinated Universal Time)] INFO hubot-botframework-adapter: onBotEvents
[Thu Jan 16 2020 12:05:05 GMT+0000 (Coordinated Universal Time)] INFO hubot-botframework-adapter: Handling activity Channel: msteams; type: message

 

As per the my requirement the functionality what I intended to do is working fine within my local environment.But facing the error that I have mentioned in the previous message when trying to run within the ms teams.

 

I have shared screenshots of the sequence of question & answers that are working in my local environment.Please find the attached images and let me know if you need any further info from my end.

 

@AcharyaTejaswi963 , Thanks for the logs but it is very hard to read, Could you please send us the logs in a file so we can investigate it further. 

Hi @Trinetra-MSFT,

 

I have appended the required logs into a file as you requested and please find the attached document of it.let me know if you need any further info.

 

Thanks,

Acharya

Hi Trinetra,

Can you please make the process of your investigations a bit fast as we need this issue to be fixed as soon as possible.

Thanks,
Acharya

@AcharyaTejaswi963 , Thanks for sharing the information, We are looking into your issue. in the mean time could you please tell us how many messages were send to  bot which got reply before 429, by seeing the logs it seems there were 8 messages sent, Hubot rate limit should be causing the failure of message. We are investigating the cause of failure.   

Best Response confirmed by AcharyaTejaswi963 (Occasional Contributor)
Solution

@AcharyaTejaswi963 , We found the bot is throttling the rate limit for teams channel which is 7 (max allowed operations) within 1 sec. Please take a look at per bot thread limit.

@Trinetra-MSFT, Can we increase this rate-limit to 10 or above as per my requirement.

@AcharyaTejaswi963, Why do you need to increase the rate limit? You can handle the rate limit at your end.