# Failed to update the SDIM configuration via API

**URL:** <https://community.sailpoint.com/discuss/t/failed-to-update-the-sdim-configuration-via-api/33191>\
**Category:** Implement & Extend\
**Tags:** servicenow, extensibility\
**Created:** [March 13, 2024, 12:44am UTC](https://community.sailpoint.com/discuss/t/failed-to-update-the-sdim-configuration-via-api/33191 "2024-03-13T00:44:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ronaldchuiASB](https://avatars.discourse-cdn.com/v4/letter/r/779978/32.png) [@ronaldchuiASB](https://community.sailpoint.com/discuss/u/ronaldchuiASB)\
**Post date:** [March 13, 2024, 12:44am UTC](https://community.sailpoint.com/discuss/t/failed-to-update-the-sdim-configuration-via-api/33191/1 "2024-03-13T00:44:50Z")

</div>

Hi IDN Experts,

I followed the documentations below in the hope of using the Plan Initializer Script to prepare some argument values for the plan.

[Customize Ticket Fields (sailpoint.com)](https://documentation.sailpoint.com/connectors/servicenow/sdim/help/integrating_servicenow_sdim/customizing.html)

[patch-service-desk-integration | SailPoint Developer Community](https://developer.sailpoint.com/docs/api/beta/patch-service-desk-integration)

However, I tried to update a dummy value on description but still getting the error message

Request:

PATCH {{baseUrl}}/beta/service-desk-integrations/:id

Payload:

[&nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; “op”: “replace”,&nbsp; &nbsp; &nbsp; &nbsp; “path”: “/description”,&nbsp; &nbsp; &nbsp; &nbsp; “value”: “SB Service Desk - Updated”&nbsp; &nbsp; }]Response:{&nbsp; &nbsp; “detailMessage”: “Data validation errors for ‘ServiceNow SDIM’. [The ‘password’ attribute can’t be included with ‘OAuth2’ authentication and ‘REFRESH\_TOKEN’ grant type., The ‘username’ attribute can’t be included with ‘OAuth2’ authentication and ‘REFRESH\_TOKEN’ grant type.]”,&nbsp; &nbsp; “stackTrace”: [],&nbsp; &nbsp; “suppressedExceptions”: []}&nbsp;The connector is working properly as I could create the ServiceNow ticket via the connector. But it seems that the API does not like the configuration from the connector. How could I get through this?Any suggestions are welcome, thank you.&nbsp;Ronald

---

<div class="post-metadata">

**Author:** ![ronaldchuiASB](https://avatars.discourse-cdn.com/v4/letter/r/779978/32.png) [@ronaldchuiASB](https://community.sailpoint.com/discuss/u/ronaldchuiASB)\
**Post date:** [March 13, 2024, 9:19pm UTC](https://community.sailpoint.com/discuss/t/failed-to-update-the-sdim-configuration-via-api/33191/2 "2024-03-13T21:19:45Z")

</div>

The issue is resolved by creating another SDIM connector. Probably it is due to some old connection configuration.
