{"id":604,"date":"2020-02-18T10:01:23","date_gmt":"2020-02-18T10:01:23","guid":{"rendered":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/?post_type=lsvr_kba&#038;p=604"},"modified":"2020-04-24T05:21:07","modified_gmt":"2020-04-24T05:21:07","slug":"grant-access-to-custom-settings-critical-update","status":"publish","type":"lsvr_kba","link":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/knowledge-base\/grant-access-to-custom-settings-critical-update\/","title":{"rendered":"Grant Access to Custom Settings &#8211; Critical Update"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\"><strong>Salesforce Spring&#8217;20 Critical Updates<\/strong><\/h3>\n\n\n\n<p>Users without the Customize Application permission can read custom settings using APIs that are provided by Salesforce. This access will be revoked as part of a critical update that is scheduled to be rolled out with the Spring \u201920 release on January 3, 2020.After the critical update, users without the Customize Application permission no longer can access custom settings. You can read more at <a href=\"https:\/\/releasenotes.docs.salesforce.com\/en-us\/winter20\/release-notes\/rn_forcecom_custom_settings_access_cruc_addWinter.htm\" class=\"rank-math-link\">critical update<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>SMS Magic Impact<\/strong><\/h3>\n\n\n\n<p>This critical update will affect SMS-Magic capabillities like sending messages, receiving incoming messages, etc. If you are unable to send messages or see any error message shown in the below example, please check the debug logs.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"381\" src=\"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/02\/Criticla-updates-1-1024x381.png\" alt=\"\" class=\"wp-image-651\" srcset=\"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/02\/Criticla-updates-1-1024x381.png 1024w, https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/02\/Criticla-updates-1-300x111.png 300w, https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/02\/Criticla-updates-1-768x285.png 768w, https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/02\/Criticla-updates-1-1536x571.png 1536w, https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-content\/uploads\/sites\/5\/2020\/02\/Criticla-updates-1.png 1663w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p>This can be checked by debugging logs. This can be tested by sending a SMS from Salesforce from any source. The expected error for the aforementioned issue would display empty API Key. A sample log has been shared below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">08:51:23.27 (168325762)|FATAL_ERROR|<br> System.SecurityException: Empty key Class.System.Crypto.<br> generateMac: line 20, column 1 Class.smagicinteract.<br> SMSUtility.getSignatureHMAC: line 250, column 1 Class.smagicinteract.<br> SMSUtility.makeHTTPCallout: line 294, column 1 Class.smagicinteract.<br> SMSUtility.sendSMSHTTPRequest: line 119, column 1 Class.smagicinteract.<br> SMSUtility.callSMSAPI: line 91, column 1 08:51:23.27 (168341216)|FATAL_ERROR|<br> System.SecurityException: Empty key Class.System.Crypto.<br> generateMac: line 20, column 1 Class.smagicinteract.<br> SMSUtility.getSignatureHMAC: line 250, column 1 Class.smagicinteract.<br> SMSUtility.makeHTTPCallout: line 294, column 1 Class.smagicinteract.<br> SMSUtility.sendSMSHTTPRequest: line 119, column 1 Class.smagicinteract.<br> SMSUtility.callSMSAPI: line 91, column 1 08:51:23.168 (168349756)|CUMULATIVE_LIMIT_USAGE 0<\/pre>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Changes to be Made<\/strong><\/h3>\n\n\n\n<p>Below are two ways to overcome the impact of this critical update. Failing to do so will affect message delivery.<\/p>\n\n\n\n<ul><li>You must manually assign the \u201cView All Custom Settings\u201d permission under Profiles \/ Permission of users.<\/li><\/ul>\n\n\n\n<p class=\"has-text-align-center\">OR<\/p>\n\n\n\n<ul><li>You must assign SMS-magic packaged permission set \u201cSMS Converse conversation user\u201d to give access to only SMS-magic custom settings. [To get the desired package version link, please reach out to us at <a href=\"mailto:care@screen-magic.com\">care@screen-magic.com<\/a>]<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Salesforce Spring&#8217;20 Critical Updates Users without the Customize Application permission can read custom settings using APIs that are provided by Salesforce. This access will be revoked as part of a critical update that is scheduled to be rolled out with the Spring \u201920 release on January 3, 2020.After the critical update, users without the Customize [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"lsvr_kba_cat":[24],"lsvr_kba_tag":[25,26],"class_list":["post-604","lsvr_kba","type-lsvr_kba","status-publish","format-standard","hentry","lsvr_kba_cat-important-announcements","lsvr_kba_tag-grant-access-to-custom-settings-critical-update","lsvr_kba_tag-troubleshooting"],"_links":{"self":[{"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/lsvr_kba\/604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/comments?post=604"}],"version-history":[{"count":29,"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/lsvr_kba\/604\/revisions"}],"predecessor-version":[{"id":777,"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/lsvr_kba\/604\/revisions\/777"}],"wp:attachment":[{"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/media?parent=604"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/lsvr_kba_cat?post=604"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/staging.txtbox.in\/docs\/converse-release-notes\/wp-json\/wp\/v2\/lsvr_kba_tag?post=604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}