Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Updating the way how we invoke the request from urllib #499

Closed
wants to merge 5 commits into from

Conversation

anandhud
Copy link

@anandhud anandhud commented May 23, 2023

Details

  • I have been continuously hitting the below error while running a lot of tests on my app.
  • Changed the request requirement approach and tested it

Error:
TypeError: require(...).request is not a function at NodeHttpClient.sendRequest (/usr/app/api/node_modules/snowflake-sdk/lib/http/base.js:98:33) at Gzip.cb (/usr/app/api/node_modules/snowflake-sdk/lib/http/base.js:141:7) at Gzip.zlibBufferOnEnd (node:zlib:161:10) at Gzip.emit (node:events:527:28) at Gzip.emit (node:domain:475:12) at endReadableNT (node:internal/streams/readable:1345:12) at processTicksAndRejections (node:internal/process/task_queues:83:21)

@anandhud anandhud requested a review from a team as a code owner May 23, 2023 09:41
@sfc-gh-dszmolka
Copy link
Collaborator

thank you for your contribution! urllib has been obsoleted and replaced by axios in driver version 1.9.0 so marking this as closed since the fix targeting urllib which doesn't exist anymore in this library. If still relevant, please comment and we can reopen.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants