#AxiosError message: 'Request failed with status code 500'

19 messages · Page 1 of 1 (latest)

frail pecanBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

      🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in <id:customize>

      ✅ You can mark a message as the answer for your post with `Right click -> Apps -> Mark Solution`
      (if you don't see the option, try refreshing Discord with Ctrl + R)
sterile fog
#

You can console.log the error to know what it is, then fix it

stable sable
sterile fog
stable sable
#

Thank you, of course! I will try this, merci-beacoup!

sterile fog
#

sure, good luck

stable sable
#

Hey @sterile fog , so the form is on '/thing/post' and then onSubmit its being send with Axios to '/thing/create'.. Should they both be the same url, as in folder structure, if you know what I mean? Maybe this could be the problem?.

sterile fog
#

no i don't really understand what you mean...

#

what was the error

stable sable
#

I am sorry, I will explain better.. My english isn't that good.

#

Uhm, error wasn't being shown in console.log, could that mean something?..

#

Only the inputted data of the form in json was console.logged with 'console.log(values)'.

#

I am showing you screenshots, that's easier.

sterile fog
#

hmm sure

stable sable
#

@sterile fog

sterile fog
#

nothing wrong with what i see here

stable sable
#

Hmm, okay, thank you, sir..

#

It's so unfortunate, that this status code 500, isn't specific.. it's so generic.

#

I don't know what's wrong, lol.. I mean, it's def. a server side problem, i just don't understand what or why..