You wanna add console logs here: 1) https://github...
# support-questions-legacy
r
You wanna add console logs here: 1) https://github.com/supertokens/supertokens-node/blob/master/lib/build/framework/awsLambda/framework.js#L228. If this is not called, it means the middleware is not running. Which will be very, very weird 2) You want to print out the value of
result
here: https://github.com/supertokens/supertokens-node/blob/master/lib/build/framework/awsLambda/framework.js#L232 3) https://github.com/supertokens/supertokens-node/blob/master/lib/build/supertokens.js#L142. Add a random console log here as well (before the
path
variable is created). If (1) is getting printed out, then this one should as well. 4) Add a random console log here: https://github.com/supertokens/supertokens-node/blob/master/lib/build/supertokens.js#L150 (before
requestRID
is created). If this doesn't get printed out, it means that the middleware is not handling requests cause it thinks the request path is not something it should handle. In this case, you want to see the value of this
path
variable: https://github.com/supertokens/supertokens-node/blob/master/lib/build/supertokens.js#L142 If you want, we can even get on a call to do this together so that we can find the issue more quickly. Otherwise lmk about the results of the above please 🙂
3 Views