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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 223 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 205 Most Valuable Professional

#3
harshdeol Profile Picture

harshdeol 167 Moderator

Last 30 days Overall leaderboard