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

Power App ForAll (fails) to connect to 'custom connector'

Power App ForAll (fails) on select button initiates custom connector (PhotoHandler) then Flow & passes gallery images & name to SPO. Postman 202 for Flow & Power App custom connector test 202. The 202 status suggests coding is OK.

 

See below image of the issue.

 

Help.  Thank You.

ForAllError.png

 

6 REPLIES 6
Community Support Team
Community Support Team

Re: Power App ForAll (fails) to connect to 'custom connector'

Hi @CABIRD ,

 

It may related about the number of expected value, change your formula to 

ForAll(Photolist,PhotoHandler.PhotoHandler(FileName)) or ForAll(Photolist,PhotoHandler.PhotoHandler(Photo))

to test.

 

Hope this could be helpful.

 

Best Regards.

Yumia

CABIRD
Level: Powered On

Re: Power App ForAll (fails) to connect to 'custom connector'

Hello 

 

Sadly niether formula or combining the formula worked.

 

Both red lines etc. 

 

Thank you for taking the time to reply. I appreciate you doing so. 

Community Support Team
Community Support Team

Re: Power App ForAll (fails) to connect to 'custom connector'

Hi @CABIRD 

 

What is the error message of your fomula expression?

 

Best Regards.

Yumia

CABIRD
Level: Powered On

Re: Power App ForAll (fails) to connect to 'custom connector'

Hello @v-yuxima-msft 

 

Message 'Invalid number of arguments: recieved 2, expect5.'

See image below.

Error.png

Hope that helps.

 

Thank you.

 

Best wishes

Christopher

Community Support Team
Community Support Team

Re: Power App ForAll (fails) to connect to 'custom connector'

Hi @CABIRD 

 

The error message shows there are need 5 parameters,but in your formula expression there is only two parameters.

Could you please check you have set 5 required parameters when you create your customer connector.

parameter1.PNG

 

You can choose the ones you need to be required, not all parameters need to be required.

 

More information:

define-openapi-definition

 

Hope this could be helpful.

 

Best Regards.

Yumia

CABIRD
Level: Powered On

Re: Power App ForAll (fails) to connect to 'custom connector'

Hello @v-yuxima-msft 

 

I think I have resolved the ForAll(PhotoList, PhotoHandler.UploadPhoto(FileName,Photo)) issue (see image below) . Problem now my Flow trigger expressions fail.

 

SwaggerCodeExample.png

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,813)