# Snowflake - Failed to update a user

**URL:** <https://developer.sailpoint.com/discuss/t/snowflake-failed-to-update-a-user/192864>\
**Category:** IIQ Discussion and Questions\
**Tags:** identityiq, provisioning\
**Created:** [January 9, 2026, 8:37pm UTC](https://developer.sailpoint.com/discuss/t/snowflake-failed-to-update-a-user/192864 "2026-01-09T20:37:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![pasha](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/pasha/32/71_2.png) [@pasha](https://developer.sailpoint.com/discuss/u/pasha)\
**Post date:** [January 9, 2026, 8:37pm UTC](https://developer.sailpoint.com/discuss/t/snowflake-failed-to-update-a-user/192864/1 "2026-01-09T20:37:16Z")

</div>

## Which IIQ version are you inquiring about?

_8.4p2_

## Please share any other relevant files that may be required (for example, logs).

## Share all details about your problem, including any error messages you may have received.

_We are seeing this error sporadically when we try to revoke a role and disable the Snowflake account._

We can’t reproduce it on demand. Has anybody seen this error? Any hints?

Thanks.

Pasha

2026-01-06T12:33:47,540 ERROR https-openssl-nio-443-exec-4 openconnector.connector.snowflake.SnowflakeConnector:199 - Failed to update a user, Error:  
java.lang.NullPointerException: null  
at openconnector.connector.snowflake.SnowflakeService.fetchRolesForSingleUser(SnowflakeService.java:995) ~[connector-bundle-webservices.jar:8.4p2]  
at openconnector.connector.snowflake.SnowflakeService.getAccount(SnowflakeService.java:958) ~[connector-bundle-webservices.jar:8.4p2]  
at openconnector.connector.snowflake.SnowflakeProvisioner.updateUser(SnowflakeProvisioner.java:319) ~[connector-bundle-webservices.jar:8.4p2]  
at openconnector.connector.snowflake.SnowflakeConnector.update(SnowflakeConnector.java:195) ~[connector-bundle-webservices.jar:8.4p2]

---

<div class="post-metadata">

**Author:** ![vinnysail](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/vinnysail/32/17001_2.png) [@vinnysail](https://developer.sailpoint.com/discuss/u/vinnysail)\
**Post date:** [January 12, 2026, 6:22am UTC](https://developer.sailpoint.com/discuss/t/snowflake-failed-to-update-a-user/192864/2 "2026-01-12T06:22:36Z")

</div>

Hi @pasha, could see a null pointer exception coming up as per the stack trace. can you please enable more logging in before or after provisioning rule in see if you get more details on the error, possibly print whole provisioning plan and check out what could be the error.

---

<div class="post-metadata">

**Author:** ![kumarSinghM](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kumarSinghM](https://developer.sailpoint.com/discuss/u/kumarSinghM)\
**Post date:** [January 12, 2026, 8:44am UTC](https://developer.sailpoint.com/discuss/t/snowflake-failed-to-update-a-user/192864/3 "2026-01-12T08:44:58Z")

</div>

Hi @pasha

I would suggest enabling trace logs. Currently, null pointer exception is visible and nothing apart from this.

---

<div class="post-metadata">

**Author:** ![pasha](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/pasha/32/71_2.png) [@pasha](https://developer.sailpoint.com/discuss/u/pasha)\
**Post date:** [February 10, 2026, 2:20pm UTC](https://developer.sailpoint.com/discuss/t/snowflake-failed-to-update-a-user/192864/4 "2026-02-10T14:20:12Z")

</div>

Thanks to those who looked into this and made suggestions.

The error has stopped happening since I posted it here. Did not know just posting here could solve issues 🙂

Thanks again.

---

<div class="post-metadata">

**Author:** ![r\_pragati](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@r\_pragati](https://developer.sailpoint.com/discuss/u/r_pragati)\
**Post date:** [February 10, 2026, 5:51pm UTC](https://developer.sailpoint.com/discuss/t/snowflake-failed-to-update-a-user/192864/5 "2026-02-10T17:51:36Z")

</div>

Hi @pasha It could be because of some specific user not having all required data. I would recommend adding null checks in your code to mitigate the issue in future.

---

<div class="post-metadata">

**Author:** ![pasha](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/pasha/32/71_2.png) [@pasha](https://developer.sailpoint.com/discuss/u/pasha)\
**Post date:** [February 10, 2026, 6:53pm UTC](https://developer.sailpoint.com/discuss/t/snowflake-failed-to-update-a-user/192864/6 "2026-02-10T18:53:26Z")

</div>

Hi @r_pragati It’s not my code showing the null. It’s the connector itself.

---

<div class="post-metadata">

**Author:** ![r\_pragati](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@r\_pragati](https://developer.sailpoint.com/discuss/u/r_pragati)\
**Post date:** [February 10, 2026, 8:08pm UTC](https://developer.sailpoint.com/discuss/t/snowflake-failed-to-update-a-user/192864/7 "2026-02-10T20:08:18Z")

</div>

I see, you might need to enable trace logs for the connector in that case.

---

<div class="post-metadata">

**Author:** ![pasha](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/pasha/32/71_2.png) [@pasha](https://developer.sailpoint.com/discuss/u/pasha)\
**Post date:** [February 27, 2026, 2:21pm UTC](https://developer.sailpoint.com/discuss/t/snowflake-failed-to-update-a-user/192864/8 "2026-02-27T14:21:22Z")

</div>

> [@pasha](#):
>
> fetchRolesForSingleUser

There is an eFix for this. The issue is resolved in 8.2p3 and other recent versions.

The issue is related to “workspace” in Snowflake where there is no role attached (null) to the user’s personal database. The issue is intermittent, since not all people use the concept of workspace on Snowflake.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [April 28, 2026, 2:21pm UTC](https://developer.sailpoint.com/discuss/t/snowflake-failed-to-update-a-user/192864/9 "2026-04-28T14:21:47Z")

</div>

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