#Token String Not Recognized As String

1 messages · Page 1 of 1 (latest)

shell crypt
#

We've got a password reset endpoint that has a token after it. It's currently throwing an error stating that the token isn't a string. Trying to figure out why.

tired trout
#

Where is the error?

shell crypt
#

Postman Error:

{
    "statusCode": 400,
    "message": [
        "token must be a string"
    ],
    "error": "Bad Request"
}
#

Ok. On the terminal, I'm getting a different error than before. But here it is.

tired trout
#

Do you send the token in body and params?

shell crypt
tired trout
#

Then remove it from your account dto