cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
andrewisaac
Helper I
Helper I

Create a Chat Bad Request

Hello. I'm trying to create a chat using a given list of emails in Microsoft Teams and sending them specific messages. 

Here's what the part of the code looks like:

andrewisaac_0-1670026477029.png

However, it keeps telling me BadRequest, and here's the output that it gives me:

{"statusCode":400,"headers":{"Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000","request-id":"ca7095ca-cb6a-4e58-9d30-3765f06a6a8a","client-request-id":"ca7095ca-cb6a-4e58-9d30-3765f06a6a8a","x-ms-ags-diagnostic":"{\"ServerInfo\":{\"DataCenter\":\"Southeast Asia\",\"Slice\":\"E\",\"Ring\":\"5\",\"ScaleUnit\":\"001\",\"RoleInstance\":\"SI2PEPF00001642\"}}","Timing-Allow-Origin":"*","x-ms-apihub-cached-response":"true","x-ms-apihub-obo":"false","Date":"Sat, 03 Dec 2022 00:09:49 GMT","Content-Type":"application/json","Content-Length":"321"},"body":{"error":{"code":"BadRequest","message":"Exception has been thrown by the target of an invocation.","innerError":{"date":"2022-12-03T00:09:49","request-id":"ca7095ca-cb6a-4e58-9d30-3765f06a6a8a","client-request-id":"ca7095ca-cb6a-4e58-9d30-3765f06a6a8a"}}}}

I checked the inputs and there are no semi-colons or other strange stuff (or at least I don't think there is).

How should I solve this?

 

Thank you for the assistance in advance. 

1 REPLY 1
SudeepGhatakNZ
Resident Rockstar
Resident Rockstar

Are you able to share a screenshot of the action in the design view?

 

If my suggestion helped you, please give it a Thumbs up and mark it as a Solution so that it can benefit others in the community.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,218)