Hi everyone....How can I access the API Secret rec...
# suitescript
n
Hi everyone....How can I access the API Secret records correctly? I normally just do: var secureToken = https.createSecureString({ input: '{' + 'custsecret_api_connector_pd' + '}' }); which will then be added to the request as: var bodydata = { "grant_type": "client_credentials", "client_id": clientId, "client_secret": secureToken // clientKey }; This works fine. But the problem arise when the saved API secret needs to be part of some hash before it can be used on the https call. im getting error 401.
b