CPM-Snowflake Keys Plugin-verify process failed - Status Code = 404. Resource not found

CPM-Snowflake Keys Plugin-verify process failed - Status Code = 404. Resource not found

133
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:02 PM


Symptom


There can be situations when using the Snowflake Keys plugin that a correctly onboarded and in sync Snowflake Key will fail to verify and/or change via the Snowflake Keys plugin.   Debug logs will ultimately display the following error.  

 

Plugin results :

exit code = 8104

Message = verify process failed - Status Code = 404. Resource not found



Environment


Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)

Snowflake Logs will indicate a query is being executed by the plugin…

 

Example:

DESC AS RESOURCE USER username

 

Which results in the following error within Snowflake…

Error: SQL Compilation error: User 'username' does not exist or not authorized. 

 

 

However, manual testing of the same query on the target system with the username in double quotes succeeds…

 

Example:

DESC AS RESOURCE USER "username"



Cause


The fact that the query works with "username" but not username (unquoted) is likely due to normalization methods within the target system. The username without quotes is normalized, turning username to USERNAME when the query is processed, however, the double quoted version "username" stays as "username", because the target system interprets the string as both literal and case sensitive. 



Resolution


Check the username within the target system.  Remove any double quotes present within the username/login name fields.  This will allow the name to match the normalized query sent via the plugin. 

 

Once completed, test again.  Verify and Change actions should now work via the PVWA. 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001EVfCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail