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 Apps / Custom Connector - API...
Power Apps
Unanswered

Custom Connector - API Response Object Causing Issues

(0) ShareShare
ReportReport
Posted on by 2,339 Super User 2026 Season 1

Weird one here that might be a bug..

I'm building a custom connector for the Azure OpenAI Assistants API, which is in preview. I've started with the /assistants endpoint, which when hit with the GET method, returns an object containing a list of assistants. Below is a sample of the response:

{
 "object": "list",
 "data": [
 {
 "id": "asst_Zhvi7C71z5NvtBi2gnPtVWvj",
 "object": "assistant",
 "created_at": 1711413456,
 "name": "Virtual Functional Consultant",
 "description": null,
 "model": "gpt-4-32k-0613",
 "instructions": "You are an AI assistant that answers questions about acceptance criteria on a project. The uploaded file called User Story Extraction.xlsx contains user stories which will be used as the basis of creating the acceptance criteria",
 "tools": [
 {
 "type": "code_interpreter"
 }
 ],
 "file_ids": [
 "assistant-Zyb0Gzb8iCMblFzMZI5B4U3Q",
 "assistant-Vdgm3zB4571lE1s307RQPkdy",
 "assistant-mztgoYH4KaWsVQChjh90wTbo",
 "assistant-rKdEDkVmNgpESQ7fud7E7WZ9"
 ],
 "metadata": {}
 },
 {
 "id": "asst_u8eBsdWc3GyAVbe2qC7AQaFv",
 "object": "assistant",
 "created_at": 1710980435,
 "name": "Virtual Project Manager",
 "description": null,
 "model": "gpt-4-32k-0613",
 "instructions": "You are a virtual project manager who can answer questions about time entries against a project. You can summarize the time entries to provide answers to the questions.",
 "tools": [
 {
 "type": "code_interpreter"
 }
 ],
 "file_ids": [
 "assistant-iH0uO5rLhUJERhoLtOafPLbC"
 ],
 "metadata": {}
 }
 ],
 "first_id": "asst_Zhvi7C71z5NvtBi2gnPtVWvj",
 "last_id": "asst_u8eBsdWc3GyAVbe2qC7AQaFv",
 "has_more": false
}

When I add this payload as a sample response in the custom connector setup, it correctly detects all the properties, including the contents of the of the "data" array, which is what I'm interested in displaying in a canvas app.

After saving the custom connector and adding it to the app, the intellisense doesn't 'see' any of the properties of the response. It just flat-out doesn't work.

If I type out the name of the array property in a drop down box's Items property anyway, it doesn't recognise it.

WillPage_2-1712123190970.png

Now, if I got back to the custom connector setup and paste a new payload into the sample response, but manually change the name of the "data" property to something else - let's say "later", save then remove and re-add the connector in the app, hey presto! The intellisense works!

WillPage_0-1712122875457.png

Also, properties other than data/later return the expected value:

WillPage_1-1712122961347.png

However, .later doesn't actually exist in the API response so it doesn't work in the dropdown control.

 

So, I'm kind of stuck here. I really don't want to write a piece of middleware to rename that "data" property to something else. I feel like this is a bug with custom connectors, like they can't handle an API response containing a property with that name. Not sure if anyone from Microsoft actually reads these boards, but hopefully it can be fixed. Otherwise, is there an easy way of renaming this property in the custom connector setup somehow?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard