Question

Connect REST : cryptography operation failed, mode:2

Hi All,

We are calling a Connect-REST rule from a D_page. Connect-REST rule uses Authentication Oauth.

Here in one of the environment when I try to run D_Page we are getting error message as "cryptography operation failed, mode:2". We have same code in 3 different environment but the issue we are facing in one environment.

Appreciate any ideas on this fix.

Correct Answer
August 23, 2019 - 7:09am

Solution: If we are exporting OAuth authentication profile, we need to update client id, client secret and save the rule. It worked.

Due to some server cache, it was not worked, but later re-start with cache clear is worked.

Comments

Keep up to date on this post and subscribe to comments

July 6, 2019 - 3:47pm

Hi,

Error message "cryptography operation failed, mode:2" was observed when encrypted key differs. Please check the key once.

 

August 23, 2019 - 7:09am

Solution: If we are exporting OAuth authentication profile, we need to update client id, client secret and save the rule. It worked.

Due to some server cache, it was not worked, but later re-start with cache clear is worked.