Cohesity Discovery in Azure Environment - Parse Error

GJS
Tera Expert

All,

 

Trying to discover Cohesity in the Azure Cloud environment and getting error below.

 

{"errorCode":"KInvalidInput","message":"Error while parsing request body: invalid character 'J' in string escape code"}

 

Please note that we are successfully discovering Cohesity in the AWS environment.  Our Mid-Servers are configured that same between AWS & Azure, and our credentials are "Cluster Admin" and we are using the LOCAL@xxxxxx for the Basic Auth user account.

I saw some similar posts on the Community, but no one seemed to respond with a resolution of what they did to resolve this.

Both Cohesity systems are the same as far as version and patch level. There has to be something !

Any help with this would be much appreciated

1 ACCEPTED SOLUTION

GJS
Tera Expert

For all those who are interested, I found the issue which by the way is undocumented as far as i can tell.

If you notice the error being returned by the Cohesity Cluster (see Below) it says invalid character "J"  in string.
We found that our password was set as: 8de7hpvE\JXkS}g/zi   so the "\" in the password must have been escaping the letter "J".
We changed the password not to use any slashes and now the Cohesity discovery is working fine.


{"errorCode":"KInvalidInput","message":"Error while parsing request body: invalid character 'J' in string escape code"}


View solution in original post

1 REPLY 1

GJS
Tera Expert

For all those who are interested, I found the issue which by the way is undocumented as far as i can tell.

If you notice the error being returned by the Cohesity Cluster (see Below) it says invalid character "J"  in string.
We found that our password was set as: 8de7hpvE\JXkS}g/zi   so the "\" in the password must have been escaping the letter "J".
We changed the password not to use any slashes and now the Cohesity discovery is working fine.


{"errorCode":"KInvalidInput","message":"Error while parsing request body: invalid character 'J' in string escape code"}