joetroll
DIAdiscord.js - Imagine an app
•Created by joetroll on 6/1/2024 in #djs-questions
HTTP Status code 400 [TypeScript]
Making a bot using typescript that fetches a specific api, then sends the info formatted into an embed.
i first start off defining headers (don't worry, api key is public)
which, is basically the same code i've used for my other file, just without the "nextPage".
(don't mind the non existent api link, it's there in my code) this just prints out debug info, which, the nextPage looks fine, but the json response is wrong, returning a "[Symbol(realm)]: null,". i am using the meilisearch api to fetch stuff. but, still gives out http status code 400.
my other code, that is basically the same thing, fetches just fine. is the issue within "nextPage"?
4 replies