elasticio / salesforce-component

elastic.io component that connects to Salesforce API (node.js)
Apache License 2.0
3 stars 7 forks source link

Some error messages are not shown in Dashboard. #103

Closed vdidushko closed 4 years ago

vdidushko commented 4 years ago

After the Salesforce component was updated on XPC and it had new env vars missing, the error message was not shown in Dashboard.

Error: No value is defined for environment variable: '{{OAUTH_CLIENT_ID}}'

Screenshot from 2020-01-21 16-23-38


Failed to refresh token from https://{{prodEnv}}.salesforce.com/services/oauth2/token
Error refreshing token { Error: Unexpected return code 400, expected 200, body "{\"error\":\"invalid_grant\",\"error_description\":\"expired access/refresh token\"}"```
vdidushko commented 4 years ago

Both error messages were not shown in Dashboard.

Screenshot from 2020-01-21 19-42-44

vdidushko commented 4 years ago

CNR on production. This happening only on Magic. Closing the issue. To adjust the lookout service.