cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CABIRD
Post Patron
Post Patron

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
v-yuxima-msft
Community Support
Community Support

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

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. 

Hi @CABIRD 

 

What is the error message of your fomula expression?

 

Best Regards.

Yumia

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

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

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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (1,657)