✅ 500 error when searching for something that exists in the database
when I search for something that exists in my database, i get the 500 error. but when i just write random things, i dont get any errors at all. im doing a console log on the output from the database
15 Replies
Item not found?
Oh internal error
the [] is the empty search result because there's no matches. nothing comes up when I search for something that exists, not even the []
I think that it can find the item in the database since I see a difference when i search for something that exists compared to something that doesnt exist. when i search for something that doesnt exist, i dont get any errors, and it logs the empty result which is []
Could be an issue with grabbing the thing
ill set a breakpoint and see what the data contains
it seems to get the data
this is before its being sent to JS
do you know what the issue could be? it seems to have gotten the data at least before sending it off to JS@BITS_gamer50082
Could be js issue
found some info on the error
cant help with that sorry
no worries
could be u not using the correct format
yep formatting issue
yeah I realized that haha
hm
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.