Comments (4)
Can you provide an
Minimum Reproducible Example that isolates the issue you are describing?
from undici.
What is the error? msg? stack?
from undici.
Can you provide an Minimum Reproducible Example that isolates the issue you are describing?
try{
const req = await request('https://discord.com/api/v9/invites/discord', {
query: {
inputValue: 'discord',
with_counts: true,
with_expiration: true
},
dispatcher: agent
})
const data = await req.body.json()
return data
}catch{
console.log('An error occurred.')
return false
}
from undici.
Sorry but that's not enough to reproduce your use case, you mentioned proxy so maybe there might be the root cause as the request works accordingly.
Any stack, error, message?
from undici.
Related Issues (20)
- TypeError: fetch failed - on Node v20.11.1 and v21.7.1, but works on v18.19.1 - likely issue with resolving redirect URL or IPv6 HOT 3
- BodyTimeoutError: Body Timeout Error | Closing process HOT 1
- Link to Contributing guide from the README HOT 2
- Undici cannot be required in --without-intl Node.js HOT 5
- Wrong information in docs README file HOT 4
- Nightly tests are failing HOT 3
- Unable to compile when using in typescript HOT 7
- Cannot read properties of null (reading 'ref') using fetch with HTTP/2 enabled and assertion error HOT 5
- OpenSSF scorecard "Token-permissions" score zero HOT 4
- `Request` and `Response` types don't match messages sent to `diagnostics_channel` HOT 6
- Nightly tests are failing HOT 7
- nodejs/undici H1 scope ? HOT 4
- `ProxyAgent` will cause customized `host` to reset HOT 2
- http2 onHeaders calls with header object instead of array HOT 7
- h2 doesn't follow hook pause strictly HOT 3
- publish package in jsr.io HOT 2
- Nightly tests are failing HOT 4
- main branch history overwritten HOT 5
- automate releases HOT 6
- addHeader removed in Undici request HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from undici.