googleapis / googleapis/google-api-nodejs-client

Error: error:1E08010C:DECODER routines::unsupported (ERR_OSSL_UNSUPPORTED)

Open
#3,164 1 comment 4 reactions 0 assignees View on GitHub
priority: p2 type: bug
Dominant language
TypeScript
Stars
12.2k
Forks
2k
Avg merge
1d 9h
Merged PRs (30d)
24

Description

#### Environment details
```
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 22.1.0: Sun Oct 9 20:14:30 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T8103
Binaries:
Node: 18.14.0
npm: 9.3.1
Yarn: 1.22.19
pnpm: 6.32.10
Relevant packages:
next: 13.1.6
eslint-config-next: N/A
react: 18.2.0
react-dom: 18.2.0
```

#### Steps to reproduce

1. Google Spreadsheet with Spreadsheet API enabled and set up as follows:
```js
const auth = new google.auth.JWT(
'.iam.gserviceaccount.com',
undefined,
'',
['https://www.googleapis.com/auth/spreadsheets.readonly'],
)

const sheets = google.sheets({ version: 'v4', auth })

const response = await sheets.spreadsheets.values.get({
spreadsheetId: '',
})

console.log(response)
```
2. Error displays in the console.
```sh
Error: error:1E08010C:DECODER routines::unsupported
```

Issue filed initially in Next.js (https://github.com/vercel/next.js/issues/45578)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.