Add fetch option. #141
Annotations
10 errors
source/index.ts#L40
Error: Unauthorized
❯ throwIfNotOk source/index.ts:40:23
❯ APIClient.fetchToken source/index.ts:153:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { error: 'invalid_client', error_description: 'The OAuth client was not found.' } }
This error originated in "test/upload-existing.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "Upload only returns response body on success". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
source/index.ts#L40
Error: Unauthorized
❯ throwIfNotOk source/index.ts:40:23
❯ APIClient.fetchToken source/index.ts:153:9
❯ test/fetch-token.test.js:17:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { error: 'invalid_client', error_description: 'The OAuth client was not found.' } }
|
source/index.ts#L40
Error: Unauthorized
❯ throwIfNotOk source/index.ts:40:23
❯ APIClient.get source/index.ts:126:9
❯ test/get.test.js:12:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { error: { code: 401, message: 'Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.', errors: [ { message: 'Invalid Credentials', domain: 'global', reason: 'authError', location: 'Authorization', locationType: 'header' } ], status: 'UNAUTHENTICATED' } } }
|
source/index.ts#L40
Error: Unauthorized
❯ throwIfNotOk source/index.ts:40:23
❯ APIClient.get source/index.ts:126:9
❯ test/get.test.js:22:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { error: { code: 401, message: 'Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.', errors: [ { message: 'Invalid Credentials', domain: 'global', reason: 'authError', location: 'Authorization', locationType: 'header' } ], status: 'UNAUTHENTICATED' } } }
|
source/index.ts#L40
Error: Unauthorized
❯ throwIfNotOk source/index.ts:40:23
❯ APIClient.get source/index.ts:126:9
❯ test/get.test.js:33:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { error: { code: 401, message: 'Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.', errors: [ { message: 'Invalid Credentials', domain: 'global', reason: 'authError', location: 'Authorization', locationType: 'header' } ], status: 'UNAUTHENTICATED' } } }
|
source/index.ts#L40
Error: Unauthorized
❯ throwIfNotOk source/index.ts:40:23
❯ APIClient.get source/index.ts:126:9
❯ test/get.test.js:41:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { error: { code: 401, message: 'Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.', errors: [ { message: 'Invalid Credentials', domain: 'global', reason: 'authError', location: 'Authorization', locationType: 'header' } ], status: 'UNAUTHENTICATED' } } }
|
source/index.ts#L40
Error: Unauthorized
❯ throwIfNotOk source/index.ts:40:23
❯ APIClient.publish source/index.ts:111:9
❯ test/publish.test.js:13:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { error: { code: 401, message: 'Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.', errors: [ { message: 'Invalid Credentials', domain: 'global', reason: 'authError', location: 'Authorization', locationType: 'header' } ], status: 'UNAUTHENTICATED' } } }
|
source/index.ts#L40
Error: Unauthorized
❯ throwIfNotOk source/index.ts:40:23
❯ APIClient.publish source/index.ts:111:9
❯ test/publish.test.js:21:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { error: { code: 401, message: 'Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.', errors: [ { message: 'Invalid Credentials', domain: 'global', reason: 'authError', location: 'Authorization', locationType: 'header' } ], status: 'UNAUTHENTICATED' } } }
|
source/index.ts#L40
Error: Unauthorized
❯ throwIfNotOk source/index.ts:40:23
❯ APIClient.publish source/index.ts:111:9
❯ test/publish.test.js:29:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { error: { code: 401, message: 'Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.', errors: [ { message: 'Invalid Credentials', domain: 'global', reason: 'authError', location: 'Authorization', locationType: 'header' } ], status: 'UNAUTHENTICATED' } } }
|
source/index.ts#L40
Error: Unauthorized
❯ throwIfNotOk source/index.ts:40:23
❯ APIClient.publish source/index.ts:111:9
❯ test/publish.test.js:35:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { error: { code: 401, message: 'Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.', errors: [ { message: 'Invalid Credentials', domain: 'global', reason: 'authError', location: 'Authorization', locationType: 'header' } ], status: 'UNAUTHENTICATED' } } }
|
This job failed
Loading