Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.

sdk[object Object] (node:node_number) UnhandledPromiseRejectionWarning: Error: Error: ESOCKETTIMEDOUTat sdkError

Knowledge Drop

Last tested: May 29, 2020

 

(async () => {const sdk = LookerNodeSDK.init31();const dashboards = await sdk.ok(sdk.all_dashboards("id, title"));console.log(dashboards);})();

when running the above, you could see the error on the article's title because you had the wrong base url in the API settings.

This content is subject to limited support.                

Version history
Last update:
‎06-28-2021 11:51 AM
Updated by: