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

[OneDrive for Business] 'When a File is Created' triggers with test but not in reality

Hi,

 

I have a flow that stopped working.

 

It used to be :

When a file is created in one particular folder of Onedrive Business

> Trigger an email via gmail.

 

For the last 2 weeks, i have tried to reset it but it still doesn`t work even though when i run a test, it works fine.

Looks like Onedrive doesn`t see when a new file is created.

 

Can you help me?

 

Thank you.

 

I have this error message : 

{
"error": {
"code": 502,
"source": "flow-apim-msmanaged-na-centralus-01.azure-apim.net",
"clientRequestId": "74530098-da65-41b1-bf8a-f00a30661911",
"message": "BadGateway",
"innerError": {
"status": 502,
"message": "An unspecified error has occurred.",
"source": "api.connectorp.svc.ms"
}
}
}
13 REPLIES 13
Highlighted
Helper I
Helper I

I have this error message : 

{
"error": {
"code": 502,
"source": "flow-apim-msmanaged-na-centralus-01.azure-apim.net",
"clientRequestId": "74530098-da65-41b1-bf8a-f00a30661911",
"message": "BadGateway",
"innerError": {
"status": 502,
"message": "An unspecified error has occurred.",
"source": "api.connectorp.svc.ms"
}
}
}

Highlighted

HI @ovo ,

 

According to your description, I have created a flow with OneDrive for Business trigger “When a file is created”, then send me a mobile notification.

 

Whenever I upload a file to the specific folder, the flow will be triggered.

 

The issue you’ve mentioned could not be reproduced by me.

1.PNG

 

Generally, error Bad gateways is temporary or transient, have you tried resubmit the flow run to see if it will work?

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted

It works for me when i run a test but it still doesn`t work when i actually drop a new file in this onedrive folder.

Highlighted

I created the workflow. The tests worked yesterday but still not when i create a file myself.

 

Now i have this message when i go to see the flow :

 

The caller with object id '27de6c79-d3e4-494c-89fa-c778a0a1a1a2' does not have permission for connection '2bcb735d-2c08-40b1-82e9-adc5f6954533' under Api 'shared_logicflows'.

Highlighted

Anyone to help me?

@v-yamao-msft  ?

Highlighted

Hi @ovo ,

 

The error message says that you don’t have permission to the connection.

 

Please make sure you do have permissions to OneDrive for Business.

 

Please try to recreate the connection to see if it will work.

 

If the issue still exists, please share a URL to the flow, and a screenshot of the flow. I will help collect and report it from my side.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted

THnak you,

 

HEre is the new flow i created and i still ahve the same issue : 

https://us.flow.microsoft.com/manage/environments/Default-f6205fac-1924-4a60-bfb7-55082d52be97/flows...

 

The test is working but when i add a new file, it doesn`t trigger the action 

Capture.JPG

Highlighted

Can you include a screen shot of a failed run of the Flow? One that includes the failed step.
Highlighted

The flow i recreated doesn`t have any error message anymore, but i try to test-trigger it by adding a new file, i have the message saying that i didn`t do anything:

Capture1.JPG

Highlighted

Hi @ovo ,

 

Thanks for the info.

 

I have reported this issue.

 

I will back to you once I got any updates.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted

Hi @ovo ,

 

I have some updates for you.

 

It should be working for you now.

 

Please take another try with it.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted

I just tried again.

 

I deleted all the flows, recereated a brand new one and unfortunately it still doesn`t see when there is a new file created.

Highlighted

@v-yamao-msft  any news?

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Kudoed Authors
Users online (9,948)