Open RiccardoGDev opened 1 month ago
Moving to the backend repo, the connector swagger specifies the type of this field as an array but runtime seems to disagree. This will need to be fixed by the connector owners.
This issue is stale because it has been open for 45 days with no activity.
Describe the Bug with repro steps
Steps:
Logic app designer
Add an Action
Form Recognizer > Analyze Document for Prebuilt or Custom Models (v3.x API)
Optional And Premium Features
Add ["barcodes"] or ["ocrHighResolution"]
Error:
The field Optional And Premium Features form accepts only an array, but at runtime I get this error:
InvalidTemplate
Unable to process template language expressions in action 'Analyze_Document_for_Prebuilt_or_Custom_models_(v3.x_API)' inputs at line '0' and column '0': 'Error reading string. Unexpected token: StartArray. Path 'queries.features'.'.
Workaround Steps:
Logic app code view
Add only a string instead of an array
By doing this I can successfully run the logic apps. However if I try to edit the logic apps using the designer I get an invalid template error.
What type of Logic App Is this happening in?
Consumption (Portal)
Which operating system are you using?
Windows
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos
No response
Browser
Chrome
Additional context
Session ID: 331aaddf369d4373b3c121994836ad16
HubsExtension: 14ms | Version: 14.140.0.179303800.240830-0451
Microsoft_Azure_EMA: 6ms | Version: 2.40826.1.7