I have a form that is supposed to capture UPN of logged in employee. The field has code
Office365Users.MyProfile().UserPrincipalName as I want to capture the UPN of logged in user in form text field as defalut value that is not editable by user in form.
This field is not editable and my intention is to show UPN that is not changeable/ editable by user, when i run the form, it shows me my name in form field and enters my name in list using flow.
when some other user calls the flow it does not enter data in SharePoint list but i see their data values in flow. the error i received in flow is: The response is not in a JSON format. "
Below are forms and flow i am using to update sharepoint List.



Here is FLOW entry with user data

I just noticed that for every user the connection is my name

Could this be the reason of error?
If yes how to resolve it as to my understanding , this connection should be each users name? how to resolve this issue?
TIA