Error: remote source rejected with status code 404
Closed this issue · 1 comments
DREXYOP commented
Error: remote source rejected with status code 404
- this error pops up whenever i try to create a card.
my code -
const card = new nowPlayingCard();
card
.setAuthor(`requested by ${track.info.requester}`)
.setColor(`auto`)
.setTheme(`classic`)
.setName(track.info.title)
.setThumbnail(track.info.thumbnail)
.setStartTime(`0:00`)
.setProgress(percent)
.setEndTime(`${duration}`)
const cardBuffer = await card.build();
and this causes another error - TypeError: Cannot read properties of undefined (reading 'width') which i belive is due to the image being absent due to the 404
DREXYOP commented
Update
- I got the issue resolved, looks like it was a problem with my handler