I sometimes/randomly get this message when I hit g...
# support-questions-legacy
s
I sometimes/randomly get this message when I hit generate code API. What could be the reason? I'm always passing the phoneNumber.
r
Hey
Are you passing content-type application/json header in the request?
s
yes
r
Hmm
And the response code is 400?
Which version of the backend SDK are you using?
s
yes
"supertokens-node": "^9.2.0",
r
Which version does that resolve to?
s
?
not sure what you mean
r
As in you are using a ^, so it could either resolve to 9.2.0, 9.2.1 or 9.2.2 or 9.2.3
(9.2.3 being the latest version)
So which one is it using?
s
9.2.0
r
Can you upgrade to the latest version
9.2.3
s
i'll do it
r
And try again. There was a tiny bug that was fixed in 9.2.2 related to json parsing
s
okay cool
thanks
3 Views