cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ovo
Level: Powered On

[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
ovo
Level: Powered On

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

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"
}
}
}

Community Support Team
Community Support Team

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

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.
ovo
Level: Powered On

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

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.

ovo
Level: Powered On

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

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'.

ovo
Level: Powered On

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

Anyone to help me?

@v-yamao-msft  ?

Community Support Team
Community Support Team

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

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.
ovo
Level: Powered On

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

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

Super User
Super User

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

Can you include a screen shot of a failed run of the Flow? One that includes the failed step.
ovo
Level: Powered On

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

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

Community Support Team
Community Support Team

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

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.
Community Support Team
Community Support Team

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

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.
ovo
Level: Powered On

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

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.

ovo
Level: Powered On

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

@v-yamao-msft  any news?

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 279 members 5,623 guests
Please welcome our newest community members: