Comments (2)
+1, also getting this error atm
![Screenshot 2024-04-17 at 1 34 20 PM](https://private-user-images.githubusercontent.com/2645695/323323922-3e913ecc-fa79-44ae-9b0f-1c279837153f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM3NTE3MzMsIm5iZiI6MTcyMzc1MTQzMywicGF0aCI6Ii8yNjQ1Njk1LzMyMzMyMzkyMi0zZTkxM2VjYy1mYTc5LTQ0YWUtOWIwZi0xYzI3OTgzNzE1M2YucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MTVUMTk1MDMzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OWEzNmVkMmI4YTMzYzA3OWZiYmQxMDdhMWNjODk4MmE3NjZiM2U1OGVhMDgxYjVhZDIwMTZkNGJjOTdiOWEzMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.zuOhCUxa8IvU-cFrd0BCn9Ewq875WC2SqglayX5WPUw)
Trace stack points to the same line
![Screenshot 2024-04-17 at 1 35 06 PM](https://private-user-images.githubusercontent.com/2645695/323324053-382ac048-4e62-4993-bd63-371c2c4faa58.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM3NTE3MzMsIm5iZiI6MTcyMzc1MTQzMywicGF0aCI6Ii8yNjQ1Njk1LzMyMzMyNDA1My0zODJhYzA0OC00ZTYyLTQ5OTMtYmQ2My0zNzFjMmM0ZmFhNTgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MTVUMTk1MDMzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTM2ZTcxMTM5OTQ0ZjU3ZGNlMmFmOWUxNmM3N2VkNzc2NzgzNGUzZWZkODEzYTM2ZjUzNGRkYzU1NWViNGJkZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.C9GtqDEQCiwDtgC4BzxTd14U3Xt-YpdJEiwENCkBw5E)
Was able to get the original error by rewriting the request in fetch, but ideally the error would propagate correctly/wouldn't get eaten by this line
![Screenshot 2024-04-17 at 1 45 06 PM](https://private-user-images.githubusercontent.com/2645695/323326629-bd7e9f3c-e4cc-43f1-a0cd-7c54642ee487.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM3NTE3MzMsIm5iZiI6MTcyMzc1MTQzMywicGF0aCI6Ii8yNjQ1Njk1LzMyMzMyNjYyOS1iZDdlOWYzYy1lNGNjLTQzZjEtYTBjZC03YzU0NjQyZWU0ODcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MTVUMTk1MDMzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTM5MDhiNDhkMjMyNjI3NzUyYjQwZDc4YWYxZjU0OWNjMWE4ZmE0M2Q1NzEwY2FiYWNjNDZmMGFiZjYxZjkzZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.Sc40ii0RwRDoJnX6JrlyK-WWP2xJc8deIsKJtyBhNfw)
Curious to see how this'll get resolved
from ky.
The error indicates that you are passing undefined
as the first argument to Ky.
Could you please show your code that causes the error?
from ky.
Related Issues (20)
- beforeError hook isn't called on 500 responses HOT 4
- how to send binary data? HOT 1
- Error: unsupported BodyInit type
- retry not working? HOT 1
- HTTPError json as unknown/type HOT 3
- Allow extend() to append to prefixUrl HOT 5
- Refresh token with ky: 2 calls instead of 1 HOT 2
- [TypeError: signal.throwIfAborted is not a function (it is undefined)] in React Native context HOT 5
- feat: consider cookiejar support HOT 4
- Set TimeoutError#cause to be Request or URL HOT 2
- New request in afterResponse hook with formData content HOT 1
- How to download files from external host
- Allow for logging network errors and JSON parse errors HOT 5
- retry and beforeRetry not triggered HOT 7
- Use `X-RateLimit-Reset` header to determine retry delay HOT 9
- Consider extracting the HTTPError logic to an external module HOT 4
- Add generic for HTTPError to type the response HOT 2
- Aggregated error on server side. HOT 1
- [Question] Does it support HTTP/2 ? (compraison with Got) HOT 2
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 ky.