Hi everyone,
I'm in the process of setting up a ticket based technical support system.
I'd like to create a group chat with the user who submitted the ticket & the operator who was assigned the ticket.
I'm inputting the emails of the user & operator but am receiving a Bad Request 400 error
I've tried using the user ID, emails, manually typing the emails etc.
email format: firstname.lastname@domain.com.au
user ID: obtained through search for users V2
The user, operator & flow connector are all on the same domain so should be able to initiate the chat - I've tried through other flow connector/accounts and having the same issues.
I'd love for this to be a silly mistake and a simple fix! x)
Edit: Someone from my team believes it may be a bug with the 'Create a chat' feature.
Specifically, because it uses the aadConversationMember class requires aadUser or something similar to add the Teams account to the chat. Because it's a new 'conversation' there's currently no conversation members. I've added the 'peak code' below
Solved! Go to Solution.
Hi @Nyko, @JonBerkowitz & @JayBert,
In my dev environment it works again. I am unable to reproduce the issue anymore. Looks like it is fixed.
Hi @Nyko,
I have also seen this error with this new preview Create a Chat action. I have actually created an issue on GitHub for this:
https://github.com/MicrosoftDocs/BusinessApplicationPlatform-Connectors-public/issues/375
I will keep you posted on the progress.
Thanks Expiscornovus! 🙂
It's a definite head scratcher...
Did anyone found a solution yet ? got the same error...
Same issue, hope they fix it soon!
Nothing yet - frustrating because it could be a great feature!
Hi @Nyko, @JonBerkowitz & @JayBert,
In my dev environment it works again. I am unable to reproduce the issue anymore. Looks like it is fixed.
That's great, but for some reason it still doesn't work for me. The "create a chat" still crash my flow
But i got a different error now so i guess it may be fixable now, this is what i got:
"code": "BadRequest",
"message": "Exception has been thrown by the target of an invocation., Exception has been thrown by the target of an invocation.",
Hi Jay - it's working for me now.
I initially got the same error, but it was because the connection/account I was using to action the 'Create a chat' was from a different domain/organisation. Once I switched to a connection on the same domain it worked.
Thanks to everyone that replied & for the Microsoft Fairy's for fixing the issue 🙂
I have same problem... no matter how much I simplified setup of connector again I have same message.
Exception has been thrown by the target of an invocation., Exception has been thrown by the target of an invocation.
I found a way to fix my problem, i am using a variable to select wich person will be added to the group, i tested by manually inserting them in the field "members to add" and it worked, but when i use a custom variable in that field, i get the invocation exception...
@JayBert , I don't understand how you fixed your issue. I am getting the same exact issue when trying to create a chat in teams
@cdigerlando i actually did not fix it, i want to store the "members to add" email in a database and get them using sql server connector with some filtering and create an string with the result and put them inside the field "members to add" but it failed that way, the only way i could make it work is by manually put the email of the member in the field, and it worked like half the time.
@JayBert Dang ok.. when I add the emails in the "Members to add" field I just get the same error over and over
@cdigerlando you could try some different format, i know my organisation use two format, and somehow one was working better than the other. We have 'login@organisation.com' and 'firstname.lastname@organisation.com' and the one with the login was working better for me.
From memory using the users email address didn't work for me either, I used their 'User ID'. Use the 'Search for Users' function & enter the desired usernames email. Then use the 'user ID' output from that function in the create a chat function.
I fix my issue, when i was creating my string with the user email, i was putting a ";" at the end of each email. i tried removing the last ";" of my emails string and it worked. i guess that the actions was expecting another email but none was given and he didn't know what to do...
User | Count |
---|---|
89 | |
37 | |
26 | |
13 | |
12 |
User | Count |
---|---|
128 | |
53 | |
38 | |
26 | |
21 |