We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

A JSONObject text must begin with '{' at character 1 of SNC_ENC_VAL

Gustavo Petta1
Tera Contributor

Hello Guys,

 

After creating an ssh private key credential when testing I am getting this error. A JSONObject text must begin with '{' at character 1 of SNC_ENC_VAL

 

Anyone ever had this problem?

 

GustavoPetta1_0-1710530107614.png

 

4 REPLIES 4

Ivan Betev
Mega Sage

Gustavo Petta1
Tera Contributor

Hello @Ivan Betev,

 

This documentantion is for Windows, on my case the problem is in Linux Server

 

Would you have experienced this problem in Linux?

 

Regards, Gustavo

JonnyS80
Tera Contributor

@Gustavo Petta1 did you ever get an answer solution to this issue on Linux?

saxtonjoshu
Kilo Sage

We recently had this same problem. Our engineer checked the midserver and noticed an unresolved problem after our upgrade (to Zurich) --- around encryption keys. He invalidated and revalidated the midserver and tested the powershell activity again and it detected the credentials properly and the activity succeeded. It must be something related to the encryption between the credentials used in the powershell activity. 

MID Server encryption keys do not match and are no longer valid. To restore proper functionality, invalidate and re-validate the MID Server.

Fixed the issue.