Golang fiber example crashes with ``interface {} i...
# support-questions-legacy
w
Golang fiber example crashes with ``interface {} is nil, not []interface {}``
Hello
I am trying to setup the backend integration using the fiber example in the supertokens repo
But when I make an api call to
auth/signin
backend crashes with the mentioned error
Full error log of the crash can be found here:
s
hi, which version of go lang SDK are you using?
0.10.2 right ?
can you share the post payload? seems like formFields is not being passed
w
Yes
I made an empty request, no post data
To test if the backend was communicating with the core correctly
But it should not crash the whole application, correct?
s
plz try passing "{ formFields: [] }"
w
Sure
Okay, now it did not crash and returned 500 with "formFields must be an array"
s
cool
w
Returning to this point, shouldnt this handled and an error returned instead of crashing?
s
you can open an issue on our repo if you want the wrong input to be fixed.
we'll look into it
w
Okay