I've got an action on this API I'm working on that allows multiple ids that can be specified with multiple instances of the parameter.
As an example, my GET call URL for this action would look like this:
http://www.domain.com/api/GetValues?id="123d123sd12"&id="1123aewer1231"
However, the connector action only saves one 'id' parameter as a string.
Within PowerApps, my function looks like this:
ConnectorAPI.ActionName({Id: "F1EmO7UIUK...iBST1VHRQ", Id: "F1EmO7UIUK58x0uy...FxBTVNURVJEQU0"})
The PowerApps Error I received says:
"A field 'id' was specified more than once in this record."
Am I out of luck? Any tips?
Thank y'all for your help!
Attempted some of the code from that StackOverflow you linked, @Syndicate_Admin.
Not having much luck. Any chance you see my mistake?
From the Swagger Editor for my connector, specifically, the parameter that needs to be multi is "webId".
parameters:
- {name: webId, in: query, required: false, type: array, items: {type: string, format: string, collectionFormat: csv}}
- {name: domain, in: query, required: true, type: string}
The above parameters give me the following error when trying to save the Custom Connector:
Your custom connector has been successfully updated, but there was an issue converting it to WADL for Power Apps: An error occured while converting OpenAPI file to WADL file. Error: 'Parameter with type='array' is not currently supported at JSON path paths['/piwebapi/streamsets/value'].get.parameters[0]'
WarrenBelz
770
Most Valuable Professional
stampcoin
494
MS.Ragavendar
399