google-api-nodejs-client icon indicating copy to clipboard operation
google-api-nodejs-client copied to clipboard

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

Open nuotsu opened this issue 2 years ago • 1 comments

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:
const auth = new google.auth.JWT(
	'<EMAIL>.iam.gserviceaccount.com',
	undefined,
	'<SECRET>',
	['https://www.googleapis.com/auth/spreadsheets.readonly'],
)

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

const response = await sheets.spreadsheets.values.get({
	spreadsheetId: '<ID',
	range: '<RANGE>',
})

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

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

nuotsu avatar Feb 12 '23 23:02 nuotsu

Have any updates for this?

magiskboy avatar Dec 11 '23 03:12 magiskboy