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

BadGateway error using "Export Email V2"

Hello

I started receiving this error about 24 hours ago.  Can anyone help please?
My whole flow is failing.  😞 Error.JPG

 

BODY OUTPUT
{
  "error": {
    "code"503,
    "source""australia-001.azure-apim.net",
    "clientRequestId""221335f3-7aea-4e9d-af1a-0ccb5e4faa6c",
    "message""BadGateway",
    "innerError": {
      "error": {
        "code""ErrorMailboxMoveInProgress",
        "message""Mailbox move in progress. Try again later., The user and the mailbox are in different Active Directory sites."
      }
    }
  }
}

HEADERS

{
  "Transfer-Encoding""chunked",
  "Retry-After""15",
  "Vary""Accept-Encoding",
  "Strict-Transport-Security""max-age=31536000",
  "request-id""a7931c66-269b-4ec6-b620-2075b92fc4d2",
  "client-request-id""a7931c66-269b-4ec6-b620-2075b92fc4d2",
  "x-ms-ags-diagnostic""{\"ServerInfo\":{\"DataCenter\":\"Australia Southeast\",\"Slice\":\"E\",\"Ring\":\"4\",\"ScaleUnit\":\"001\",\"RoleInstance\":\"ML1PEPF000034A4\"}}",
  "Timing-Allow-Origin""*",
  "x-ms-apihub-cached-response""true",
  "Cache-Control""private",
  "Date""Thu, 22 Apr 2021 05:59:28 GMT",
  "Content-Type""application/json",
  "Content-Length""416"
}
1 ACCEPTED SOLUTION

Accepted Solutions

Hi ,

 

If you are trying to export email from other shared mailbox, provide  original mailbox address  along with the Message Id as inputs for Export Email(v2) action. Hope it will resolves the issue

View solution in original post

10 REPLIES 10
Gopala_Krishna
Super User
Super User

@Ell_ 

It seems that there is some issue with your mailbox configuration, can you please check with your administrator once if they have done any changes to your mailbox. 

 

Also, you can try re-running the flow again to check if there are any issues now.

 

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

if the information shared helps you, please consider giving a thumbs up 👍 and mark solution as resolved

Thank you for the reply @Gopala_Krishna 

They have advised no changes have been made
I tried to re-run and still errors.
I also refreshed the connections and even tried to export the flow .zip and reimport. 
All still the same error.

Ell_
Helper I
Helper I

In the image below, the flow run on the right was the last successful before it now won't work. 
I notice the left side has a different Content-Type. 
Could this be the problem? 
Nothing has changed, it just stopped working as of that point. and all I can see that is different is this value. 

Flow snapshot.JPGLast successful Run on the right. First failed run on the left.Last successful Run on the right. First failed run on the left.

Hi ,

 

If you are trying to export email from other shared mailbox, provide  original mailbox address  along with the Message Id as inputs for Export Email(v2) action. Hope it will resolves the issue

View solution in original post

kgregg
New Member

Something is broken on the MS side.  We are getting this same issue along with many other people.

Ell_
Helper I
Helper I

Providing "Original Mailbox Address" has worked. I wonder why it just suddenly stopped when it was working for weeks prior. 

Thanks @SrinathMothe this seems to have enabled the flow to work again 😄 😄 

kgregg
New Member

Interesting.  I tried that before and it didn't fix it but did it just now to one of my workflows and it did.  I'll try it on the others.

 

Chris_Williams
Frequent Visitor

I'm also getting these errors.  The flow works and the email is copied to the shared folder, but the run history shows a failure.  Very confusing

Update for my situation.  I can use Move email V2 to a shared folder inside it's own scope & no errors are flagged. Works fine

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,870)