# "Api validation failed: App Instance" and "Missing app settings" error on trying to update OIDC Application using API

**URL:** <https://devforum.okta.com/t/api-validation-failed-app-instance-and-missing-app-settings-error-on-trying-to-update-oidc-application-using-api/32540>\
**Category:** API\
**Created:** [March 8, 2025, 1:26am UTC](https://devforum.okta.com/t/api-validation-failed-app-instance-and-missing-app-settings-error-on-trying-to-update-oidc-application-using-api/32540 "2025-03-08T01:26:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkh4456](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pkh4456](https://devforum.okta.com/u/pkh4456)\
**Post date:** [March 8, 2025, 1:26am UTC](https://devforum.okta.com/t/api-validation-failed-app-instance-and-missing-app-settings-error-on-trying-to-update-oidc-application-using-api/32540/1 "2025-03-08T01:26:13Z")

</div>

**POSTMAN**  
PUT https://{yourOktaDomain}/api/v1/apps/{appId}  
**Request:**  
{  
“name”: “oidc\_client”,  
“label”: “AUTOMATION QA034 BASIC”,  
“signOnMode”: “OPENID\_CONNECT”,  
“settings”: {  
“app”: {},  
“notifications”: {  
“vpn”: {  
“network”: {  
“connection”: “DISABLED”  
},  
“message”: null,  
“helpUrl”: null  
}  
},  
“manualProvisioning”: false,  
“implicitAssignment”: false,  
“notes”: {  
“admin”: null,  
“enduser”: null  
},  
“oauthClient”: {  
“client\_uri”: null,  
“logo\_uri”: null,  
“redirect\_uris”: [  
“[https://test.tst.com/oauth2/code/U0NfQVBBQzFfVE5CLVFBMDM0LWRlc2t0MDAwMDAwMDAwMDAyODg1](https://test.tst.com/oauth2/code/U0NfQVBBQzFfVE5CLVFBMDM0LWRlc2t0MDAwMDAwMDAwMDAyODg1)”  
],  
“post\_logout\_redirect\_uris”: [  
“[https://test.tst.com](https://test.tst.com)”  
],  
“response\_types”: [  
“code”  
],  
“grant\_types”: [  
“authorization\_code”,  
“client\_credentials”  
],  
“application\_type”: “web”,  
“consent\_method”: “REQUIRED”,  
“issuer\_mode”: “DYNAMIC”,  
“idp\_initiated\_login”: {  
“mode”: “DISABLED”,  
“default\_scope”:   
},  
“wildcard\_redirect”: “DISABLED”,  
“dpop\_bound\_access\_tokens”: false  
}  
}  
}

**Response:**  
{  
“errorCode”: “E0000001”,  
“errorSummary”: “Api validation failed: App Instance”,  
“errorLink”: “E0000001”,  
“errorCauses”: [  
{  
“errorSummary”: “Missing app settings”  
}  
]  
}

---

<div class="post-metadata">

**Author:** ![pkh4456](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pkh4456](https://devforum.okta.com/u/pkh4456)\
**Post date:** [March 10, 2025, 12:04pm UTC](https://devforum.okta.com/t/api-validation-failed-app-instance-and-missing-app-settings-error-on-trying-to-update-oidc-application-using-api/32540/2 "2025-03-10T12:04:43Z")

</div>

Can somebody help with this

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [March 10, 2025, 6:38pm UTC](https://devforum.okta.com/t/api-validation-failed-app-instance-and-missing-app-settings-error-on-trying-to-update-oidc-application-using-api/32540/3 "2025-03-10T18:38:13Z")

</div>

Are you trying to update an OpenID connect app that already exists in your org?

When you formed your request payload for this update, did you ensure that it included all the details specific to this application based on what was returned in a GET request for the same application instance?

---

<div class="post-metadata">

**Author:** ![pkh4456](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pkh4456](https://devforum.okta.com/u/pkh4456)\
**Post date:** [March 11, 2025, 11:05am UTC](https://devforum.okta.com/t/api-validation-failed-app-instance-and-missing-app-settings-error-on-trying-to-update-oidc-application-using-api/32540/4 "2025-03-11T11:05:12Z")

</div>

Yes, it’s an existing OIDC app in my org, I can update it from UI but not via Okta APIs.  
yes, I also tried fetching it’s details with GET API and sent the same values in PUT API just to check if it accepts… but it fails with PUT API

---

<div class="post-metadata">

**Author:** ![pkh4456](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pkh4456](https://devforum.okta.com/u/pkh4456)\
**Post date:** [March 11, 2025, 6:41pm UTC](https://devforum.okta.com/t/api-validation-failed-app-instance-and-missing-app-settings-error-on-trying-to-update-oidc-application-using-api/32540/5 "2025-03-11T18:41:40Z")

</div>

this is resolved. Can be closed, the " Replace an application" API needs a few more attributes which are not marked as mandatory in the reference doc

> **[Applications](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/Application/#tag/Application/operation/replaceApplication)**
>
> The Applications API provides operations to manage apps in your org.
> 
> To create a custom app integration instance, use the \[Create an...

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [March 12, 2025, 3:28pm UTC](https://devforum.okta.com/t/api-validation-failed-app-instance-and-missing-app-settings-error-on-trying-to-update-oidc-application-using-api/32540/6 "2025-03-12T15:28:53Z")

</div>

So we can better update our documentation (and help anyone else who runs into this issue), were you able to determine which specific attributes were missing?

---

<div class="post-metadata">

**Author:** ![pkh4456](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pkh4456](https://devforum.okta.com/u/pkh4456)\
**Post date:** [March 12, 2025, 5:50pm UTC](https://devforum.okta.com/t/api-validation-failed-app-instance-and-missing-app-settings-error-on-trying-to-update-oidc-application-using-api/32540/7 "2025-03-12T17:50:36Z")

</div>

Worked with this Input JSON for OIDC app, it fails with some or the other required field error if any of the below mentioned attribute is not passed  
{  
“name”: “oidc\_client”,  
“label”: “AUTOMATION- QA034 BASIC”,  
“signOnMode”: “OPENID\_CONNECT”,  
“credentials”: {  
“oauthClient”: {  
“client\_id”: “0oalxtp4bnLsQbduI5d7”,  
“token\_endpoint\_auth\_method”: “client\_secret\_basic”  
}  
},  
“settings”: {  
“oauthClient”: {  
“redirect\_uris”: [  
“[https://test.tst.com/oauth2/code/U0NfQVBBQzFfVE5CLVFBMDM0LWRlc2t0MDAwMDAwMDAwMDAyODg1](https://test.tst.com/oauth2/code/U0NfQVBBQzFfVE5CLVFBMDM0LWRlc2t0MDAwMDAwMDAwMDAyODg1)”  
],  
“post\_logout\_redirect\_uris”: [  
“[https://test.tst.com](https://test.tst.com)”  
],  
“response\_types”: [  
“code”  
],  
“grant\_types”: [  
“authorization\_code”,  
“client\_credentials”  
],  
“application\_type”: “web”,  
“consent\_method”: “REQUIRED”,  
“issuer\_mode”: “DYNAMIC”  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [March 13, 2025, 5:51pm UTC](https://devforum.okta.com/t/api-validation-failed-app-instance-and-missing-app-settings-error-on-trying-to-update-oidc-application-using-api/32540/8 "2025-03-13T17:51:32Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
