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 / Error in returning JSON
Power Apps
Unanswered

Error in returning JSON

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Good day, Its been a week now and I'm struggling to figure out what's wrong with the JSON response. I have a custom connector that gets the flag status of each project by their project key.

And this is the sample response I've put in the custom connector.

{
"_links": {
"self": {
"href": "string",
"type": "string"
}
},
"items": [
{
"_links": {
"parent": {
"href": "string",
"type": "string"
},
"self": {
"href": "string",
"type": "string"
}
},
"_maintainer": {
"_id": "string",
"_links": {
"self": {
"href": "string",
"type": "string"
}
},
"email": "string",
"firstName": "string",
"lastName": "string",
"role": "string"
},
"_version": 0,
"archived": true,
"clientSideAvailability": {
"usingEnvironmentId": true,
"usingMobileKey": true
},
"creationDate": 0,
"customProperties": {},
"defaults": {
"offVariation": 0,
"onVariation": 0
},
"description": "string",
"environments": {
"test-dev": {
"_environmentName": "string",
"_site": {
"href": "string",
"type": "string"
},
"_summary": {
"prerequisites": 0,
"variations": {
"0": {
"isFallthrough": true,
"nullRules": 0,
"rules": 0,
"targets": 0,
"isOff": true
},
"1": {
"isOff": true,
"nullRules": 0,
"rules": 0,
"targets": 0,
"isFallthrough": true
}
}
},
"archived": true,
"lastModified": 0,
"on": true,
"salt": "string",
"sel": "string",
"trackEvents": true,
"trackEventsFallthrough": true,
"version": 0
},
"test-prod": {
"_environmentName": "string",
"_site": {
"href": "string",
"type": "string"
},
"_summary": {
"prerequisites": 0,
"variations": {
"0": {
"isFallthrough": true,
"nullRules": 0,
"rules": 0,
"targets": 0,
"isOff": true
},
"1": {
"isOff": true,
"nullRules": 0,
"rules": 0,
"targets": 0,
"isFallthrough": true
}
}
},
"archived": true,
"lastModified": 0,
"on": true,
"salt": "string",
"sel": "string",
"trackEvents": true,
"trackEventsFallthrough": true,
"version": 0
},
"test-stage": {
"_environmentName": "string",
"_site": {
"href": "string",
"type": "string"
},
"_summary": {
"prerequisites": 0,
"variations": {
"0": {
"isFallthrough": true,
"nullRules": 0,
"rules": 0,
"targets": 0,
"isOff": true
},
"1": {
"isOff": true,
"nullRules": 0,
"rules": 0,
"targets": 0,
"isFallthrough": true
}
}
},
"archived": true,
"lastModified": 0,
"on": true,
"salt": "string",
"sel": "string",
"trackEvents": true,
"trackEventsFallthrough": true,
"version": 0
}
},
"experiments": {
"baselineIdx": 0,
"items": [
"string"
]
},
"goalIds": [
"string"
],
"includeInSnippet": true,
"key": "string",
"kind": "string",
"maintainerId": "string",
"name": "string",
"tags": [
"string"
],
"temporary": true,
"variationJsonSchema": "string",
"variations": [
{
"_id": "string",
"value": true,
"description": "string",
"name": "string"
}
]
}
],
"totalCount": 0
}

Although I can get the name, key, date created and so on when I change project name in powerapps using "ThisItem". The problem is when I go to the environments part, I always get the "test-dev""test-prod""test-stage" using "ThisItem.environments" even though I'm in a different project. 

For example I am in the "ProjectTest" project. the environments should be "project-test-dev""project-test-stage""project-test-prod". not the environments "test-dev""test-prod""test-stage".


Categories:

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard