Other than that I found this one of the best tutorials I've used as it's short and concise, very straightforward. Thanks! It'd be great if you could link the code as you skip a few things here or there.
I'm glad you found it helpful. Future videos I will link some sample code. I've been building alot with some other AWS technologies so there are more videos on the way.
If you are using Amplify just check the Current Authenticated User object. Within that object you should see all of the user data including Current auth token
@@devspot3864 hmm dont know what amplify is. ill look it up really quick. my friend sent me some notes from this same project that he did about a week ago. with his notes i got this error in Postman. { "statusCode": 400, "body": "\"Unsupported route: \\\"undefined\\\"\"", "headers": { "Content-Type": "application/json" } } the code actually changed around a little bit from what you originally had. i'm not quit sure where im getting the error from.
Not sure if you'll respond but I have an issue where I cannot use require but I can use import but when testing it on AWS I keep getting errors on errors. but right now this is the error: "{ "errorType": "Error", "errorMessage": "Cannot find package 'aws-sdk' imported from /var/task/index.mjs",".
Other than that I found this one of the best tutorials I've used as it's short and concise, very straightforward. Thanks! It'd be great if you could link the code as you skip a few things here or there.
I'm glad you found it helpful. Future videos I will link some sample code. I've been building alot with some other AWS technologies so there are more videos on the way.
i got a auth token failed. woudl have been cool to show how to create or find that.
If you are using Amplify just check the Current Authenticated User object. Within that object you should see all of the user data including Current auth token
@@devspot3864 hmm dont know what amplify is. ill look it up really quick.
my friend sent me some notes from this same project that he did about a week ago. with his notes i got this error in Postman.
{
"statusCode": 400,
"body": "\"Unsupported route: \\\"undefined\\\"\"",
"headers": {
"Content-Type": "application/json"
}
}
the code actually changed around a little bit from what you originally had.
i'm not quit sure where im getting the error from.
Not sure if you'll respond but I have an issue where I cannot use require but I can use import but when testing it on AWS I keep getting errors on errors. but right now this is the error:
"{
"errorType": "Error",
"errorMessage": "Cannot find package 'aws-sdk' imported from /var/task/index.mjs",".
gotta stop scrolling up and down in idle periods.
I am getting an error trying to access postProjects:
"errorType": "Runtime.ImportModuleError",
"errorMessage": "Error: Cannot find module 'aws-sdk'
Require stack:
- /var/task/index.js
- /var/runtime/index.mjs",
solved: nodejs 16 is by default now, need to revert to 14
You probably need to include the node modules folder. Let me know if that helps.
Disregard the reply then! I do believe you should be able to use nodejs 16 tho
Can you see my questions? After I referesh my answers disappear here...