Experienced software engineer who is result oriented with a passion for developing innovative solutions to business problems.
Also passionate about charity and human rights
Hi @tikam at what point exactly did you get this error?
Generally when you get a connection timeout error, it's due to connection problem usually network related. It will be helpful if you could provide more context.
can you provide proper working code repository, because verify user email and hashed function was not working, promises were pending, debugged and re wrote it.
Experienced software engineer who is result oriented with a passion for developing innovative solutions to business problems.
Also passionate about charity and human rights
Experienced software engineer who is result oriented with a passion for developing innovative solutions to business problems.
Also passionate about charity and human rights
Experienced software engineer who is result oriented with a passion for developing innovative solutions to business problems.
Also passionate about charity and human rights
Experienced software engineer who is result oriented with a passion for developing innovative solutions to business problems.
Also passionate about charity and human rights
Hi @tikam at what point exactly did you get this error?
Generally when you get a connection timeout error, it's due to connection problem usually network related. It will be helpful if you could provide more context.
can you provide proper working code repository, because verify user email and hashed function was not working, promises were pending, debugged and re wrote it.
I'm not sure I understand what you mean.
Why I'm asking for working code repository because lot of things are not handled in blog, while coding and running there are lots of bugs like this:
[nodemon] starting
node src/app.js
internal/process/esm_loader.js:74
internalBinding('errors').triggerUncaughtException(
^
[ErrorReply: ERR unknown command 'FT.DROPINDEX', with args beginning with: 'EventRepository:index' ]
[nodemon] app crashed - waiting for file changes before starting...
The source code can be found here: github.com/iMichaelOwolabi/event-m...
Thanks man!
You're welcome.
Btw, what to add in authorization header?
is it "token" or "authorization" : "token from login"
token : "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyS2V5IjoidXNlcjphYmN"
or
authorization: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyS2V5IjoidXNlcjphYmN"
{
"error": true,
"message": "Unauthorized user."
}
Bearer token e.g. Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyS2V5IjoidXNlcjp...
If you're testing via Postman just choose Bearer Token option in the Authorization header.
If curl: "Authorization: Bearer {token}"