web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Shared Flow can only b...
Power Automate
Unanswered

Shared Flow can only be used by the author - Error 400 "The respone is not in a JSON format."

(1) ShareShare
ReportReport
Posted on by 9

I have created an Flow that should mimic the reminder function of Slack within Teams.

Trigger: For a selected message in Teams

Logic: Post a message to Flow Bot and confirm, that the reminder was set + some things to delay the notification and get further info on the original message.

End: Post a notification to the initiator's feed

The Flow works perfect, when used by myself, but throws an error at the last step, when shared (execute only) or sent (full access) to another user. Even the first confirmation message (I'll remind you later about this message) is sent to the users Flow Bot chat. But the Feed notification at the end does always result in a 400 error.

Input of the last step (not working, executed by someone else):

Spoiler (Highlight to read)
{
    "host": {
        "connectionReferenceName""shared_teams",
        "operationId""PostFeedNotification"
    },
    "parameters": {
        "poster""Flow bot",
        "notificationType""groupchat",
        "body/recipient""prename.surname@tenant.de",
        "body/previewText""Custom Message",
        "body/chatRecipient""19:cfa7559a-99b0-5dba-8a28-51262d084384_358f0194-6b0e-4dd3-af35-c24fe8a9ec87@unq.gbl.spaces",
        "body/messageId""1645463576891"
    }
}
{    "host": {        "connectionReferenceName": "shared_teams",        "operationId": "PostFeedNotification"    },    "parameters": {        "poster": "Flow bot",        "notificationType": "groupchat",        "body/recipient": "prename.surname@tenant.de",        "body/previewText": "Custom Message",        "body/chatRecipient": "19:cfa7559a-99b0-5dba-8a28-51262d084384_358f0194-6b0e-4dd3-af35-c24fe8a9ec87@unq.gbl.spaces",        "body/messageId": "1645463576891"    }}

Output of the last step (not working, executed by someone else):

Spoiler (Highlight to read)
{
    "statusCode"400,
    "headers": {
        "Pragma""no-cache",
        "x-ms-request-id""germanywestcentral:e8715ce4-a0e8-454b-8bff-981ff6648639",
        "x-ms-correlation-request-id""e8715ce4-a0e8-454b-8bff-981ff6648639",
        "x-ms-flow-mobile-ios-version""1.3.0",
        "x-ms-flow-routing-request-id""GERMANYWESTCENTRAL:20220221T171702Z:e8715ce4-a0e8-454b-8bff-981ff6648639",
        "Strict-Transport-Security""max-age=31536000; includeSubDomains",
        "X-Content-Type-Options""nosniff",
        "Timing-Allow-Origin""*",
        "x-ms-apihub-cached-response""true",
        "x-ms-apihub-obo""true",
        "Cache-Control""no-cache",
        "Date""Mon, 21 Feb 2022 17:17:02 GMT",
        "Content-Length""259",
        "Content-Type""application/json",
        "Expires""-1"
    },
    "body": {
        "error": {
            "code"400,
            "source""germany-001.azure-apihub.net",
            "clientRequestId""35911701-860b-43f3-ad2b-69b6e42de593",
            "message""The response is not in a JSON format.",
            "innerError""Cannot read server response."
        }
    }
}
{    "statusCode": 400,    "headers": {        "Pragma": "no-cache",        "x-ms-request-id": "germanywestcentral:e8715ce4-a0e8-454b-8bff-981ff6648639",        "x-ms-correlation-request-id": "e8715ce4-a0e8-454b-8bff-981ff6648639",        "x-ms-flow-mobile-ios-version": "1.3.0",        "x-ms-flow-routing-request-id": "GERMANYWESTCENTRAL:20220221T171702Z:e8715ce4-a0e8-454b-8bff-981ff6648639",        "Strict-Transport-Security": "max-age=31536000; includeSubDomains",        "X-Content-Type-Options": "nosniff",        "Timing-Allow-Origin": "*",        "x-ms-apihub-cached-response": "true",        "x-ms-apihub-obo": "true",        "Cache-Control": "no-cache",        "Date": "Mon, 21 Feb 2022 17:17:02 GMT",        "Content-Length": "259",        "Content-Type": "application/json",        "Expires": "-1"    },    "body": {        "error": {            "code": 400,            "source": "germany-001.azure-apihub.net",            "clientRequestId": "35911701-860b-43f3-ad2b-69b6e42de593",            "message": "The response is not in a JSON format.",            "innerError": "Cannot read server response."        }    }}

Input of the last step (working, executed by myself):

Spoiler (Highlight to read)
{
    "host": {
        "connectionReferenceName""shared_teams",
        "operationId""PostFeedNotification"
    },
    "parameters": {
        "poster""Flow bot",
        "notificationType""groupchat",
        "body/recipient""my.name@tenant.de",
        "body/previewText""Custom Message",
        "body/chatRecipient""19:71fe957f-75ed-40e6-b48c-e70384d07fa3_9263a157-1e3e-481f-995f-0c588478cd38@unq.gbl.spaces",
        "body/messageId""1645544116874"
    }
}
{    "host": {        "connectionReferenceName": "shared_teams",        "operationId": "PostFeedNotification"    },    "parameters": {        "poster": "Flow bot",        "notificationType": "groupchat",        "body/recipient": "my.name@tenant.de",        "body/previewText": "Custom Message",        "body/chatRecipient": "19:71fe957f-75ed-40e6-b48c-e70384d07fa3_9263a157-1e3e-481f-995f-0c588478cd38@unq.gbl.spaces",        "body/messageId": "1645544116874"    }}

Output of the last step (working, executed by myself):

Spoiler (Highlight to read)
{
    "statusCode"204,
    "headers": {
        "Pragma""no-cache",
        "x-ms-request-id""germanywestcentral:e6609c33-ff28-450d-817c-fc6fc4a7784ff",
        "x-ms-correlation-request-id""e6609c33-ff28-450d-817c-fc6fc4a7784ff",
        "x-ms-flow-mobile-ios-version""1.3.0",
        "x-ms-flow-routing-request-id""GERMANYWESTCENTRAL:20220222T155748Z:e6609c33-ff28-450d-817c-fc6fc4a7784ff",
        "Strict-Transport-Security""max-age=31536000; includeSubDomains",
        "X-Content-Type-Options""nosniff",
        "Timing-Allow-Origin""*",
        "x-ms-apihub-cached-response""true",
        "x-ms-apihub-obo""true",
        "Cache-Control""no-cache",
        "Date""Tue, 22 Feb 2022 15:57:48 GMT",
        "Content-Length""0",
        "Expires""-1"
    }
}
{    "statusCode": 204,    "headers": {        "Pragma": "no-cache",        "x-ms-request-id": "germanywestcentral:e6609c33-ff28-450d-817c-fc6fc4a7784ff",        "x-ms-correlation-request-id": "e6609c33-ff28-450d-817c-fc6fc4a7784ff",        "x-ms-flow-mobile-ios-version": "1.3.0",        "x-ms-flow-routing-request-id": "GERMANYWESTCENTRAL:20220222T155748Z:e6609c33-ff28-450d-817c-fc6fc4a7784ff",        "Strict-Transport-Security": "max-age=31536000; includeSubDomains",        "X-Content-Type-Options": "nosniff",        "Timing-Allow-Origin": "*",        "x-ms-apihub-cached-response": "true",        "x-ms-apihub-obo": "true",        "Cache-Control": "no-cache",        "Date": "Tue, 22 Feb 2022 15:57:48 GMT",        "Content-Length": "0",        "Expires": "-1"    }}


Flow:

PwAppsNoob_0-1645649576297.png


Connections (when shared, other users configure their personal connection):

PwAppsNoob_1-1645649823118.png

 

Categories:
I have the same question (0)
  • A1234567 Profile Picture
    16 on at

    I'm facing the same issue. Have you managed to find a solution?

    Thanks.

  • PwAppsNoob Profile Picture
    9 on at

    Yes, each client had to install the Power Automate App in their Teams client.
    We did this via an app policy over the Teams admin interface.

  • Verified answer
    A1234567 Profile Picture
    16 on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard