cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ashley_mel
New Member

Flow to create item in sharepoint from form submission - ERROR 400 The specified user could not be found

Hi All,

I have a flow to create an item in a sharepoint list when a form is submitted. It was working until yesterday and now whenever I submit the form I get the following error: Bad Gateway. Error 400

The specified user  could not be found.\r\nclientRequestId: 72f17edd-bc14-470a-87ab-492aee67da7f\r\nserviceRequestId: 72f17edd-bc14-470a-87ab-492aee67da7f"

 

Capture1.PNG

 
 

Capture2.PNG

 

Capture3.PNG

 

Any advice is appreciated. Thank you! 

 
2 REPLIES 2
DAllen365
Resolver IV
Resolver IV

@ashley_mel,

 

Can you give a few more details on the form and what the column types and update items for Facilitators?  How are you setting the Facilitators field in the Update item action?  Are you setting a person field?  


----------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

tom_riha
Super User
Super User

Hello @ashley_mel ,

I'd take a look on the 'Facilitator(s)' field on the form, in my opinion the problem is that the 'Facilitator(s)' input is an array with 2 objects, but only the 1st one has an email address. In the second object the 'Claims' key doesn't have any value.

image.png

That's also what the error message says: ..user[space][space]could... There shouldn't be 2 spaces, it should be [space]username[space] if there was any value for the user.

Bad Gateway. Error 400
The specified user  could not be found.\r\nclientRequestId: 

 



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

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!

Top Solution Authors
Users online (3,276)