web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Problem with Custom Co...
Power Automate
Unanswered

Problem with Custom Connector dynamic schema returning an array of objects

(0) ShareShare
ReportReport
Posted on by

I have created a custom connector with an action returning a list of objects. I want to use the list for looping through the items.

But the the Problem is that I cannot get the returning list schema working in Flow. When reading in the dev tools I see the following error message with the status code 502: DynamicSchemaResponseNotSchema.

 

This code used for the action:

 

 

 

 

 /test/{documenttypeId}/search:
 post:
 description: Search 
 summary: Search 
 operationId: Search
 parameters:
 - name: documenttypeId
 in: path
 required: true
 type: string
 x-ms-url-encoding: single
 x-ms-summary: Document Type
 x-ms-dynamic-values: {operationId: GetTypes, value-path: dtId,
 value-title: name}
 - name: body
 in: body
 required: true
 schema: {$ref: '#/definitions/UpdateModel'}
 responses:
 '200':
 description: OK
 schema:
 type: object
 x-ms-dynamic-schema:
 operationId: EditSchemaList
 parameters:
 documenttypeId: {parameter: documenttypeId}
 value-path: properties #I' ve also tried with "values" here
 /test/{documenttypeId}/editschemalist:
 get:
 description: List Schema
 summary: List Schema
 operationId: EditSchemaList
 parameters:
 - {name: documenttypeId, in: path, required: true, type: string}
 responses:
 '200':
 description: OK
 schema: {type: object}

 

 

 

 

This is the schema returned by the server:

 

 

 

 

{
 "type": "object",
 "properties": {
 "values": {
 "type": "array",
 "items": {
 "type": "object",
 "required": [
 "24",
 "27",
 "28",
 "31",
 "32",
 "123",
 "documentName"
 ],
 "title": "Example",
 "properties": {
 "documentName": {
 "type": "string",
 "description": "documentName",
 "x-ms-summary": "Dateiname"
 },
 "documentGuid": {
 "type": "string",
 "description": "",
 "x-ms-summary": "ID"
 },
 "webUrl": {
 "type": "string",
 "description": "webUrl",
 "x-ms-summary": "Web Url"
 },
 "tagLastEditetBy": {
 "type": "string",
 "description": "",
 "x-ms-summary": "TE"
 },
 "24": {
 "type": "string",
 "description": "",
 "x-ms-summary": "LN"
 },
 "25": {
 "type": "number",
 "description": "",
 "x-ms-summary": "netto"
 },
 "27": {
 "type": "string",
 "format": "date-time",
 "description": "",
 "x-ms-summary": "RD"
 },
 "28": {
 "type": "number",
 "description": "",
 "x-ms-summary": "brutto"
 },
 "31": {
 "type": "string",
 "description": "",
 "x-ms-summary": "RN"
 },
 "32": {
 "type": "string",
 "description": "",
 "x-ms-summary": "Währung"
 },
 "123": {
 "type": "string",
 "description": "",
 "x-ms-summary": "RM"
 }
 }
 }
 }
 }
}

 

 

 

 

 does someone have an idea what's wrong please? Thank you in advance!

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard