0:00:42
all right um cool here i am surprising
0:00:45
then he thought i'm not coming but
0:00:48
yeah i'm coming so welcome back guys
0:00:51
another episode of bill break and fix uh
0:00:54
as it is the monday we'll be streaming
0:00:57
for all those who are new here they are
0:00:59
lower coders which means we are a team
0:01:01
of two people who are working on the
0:01:03
called scrambler.ca but we are adding
0:01:06
enhancements to it um so yeah
0:01:10
um then what'd you do tomorrow oh
0:01:14
so uh so i just wanna
0:01:18
let the viewers know that we also have a
0:01:21
um and if they want
0:01:25
to read our daily updates it will be
0:01:28
we will post the link to it shortly but
0:01:32
um following yes today's event which was
0:01:36
a really unexpected
0:01:37
session for me because i was
0:01:41
the goal was to implement the
0:01:44
jet board name and
0:01:48
get bored id function in the middleware
0:01:52
so i just thought that hang on i just
0:01:55
wanna make sure that
0:01:56
the posting the board name is working
0:01:59
first as in hundred percent
0:02:01
and and then i can guarantee you move
0:02:08
it's not working anymore oh my god it
0:02:13
so apparently the cause era
0:02:17
came up again um so
0:02:21
there were two errors coming up okay
0:02:24
one was the as in cause policy blah blah
0:02:28
which i managed to fix but uh as soon as
0:02:33
there is an error error
0:02:36
course came up which was something to do
0:02:40
http status is not present
0:02:43
so and when the error
0:02:47
came up i ran out of time
0:02:52
so yes we would probably have to
0:02:55
unfortunately backtrack a bit now
0:02:57
uh to get the post board
0:03:00
name working and yeah
0:03:04
that's all really cool yeah i mean
0:03:07
so this is exactly what happens in
0:03:11
real life development when your pre-show
0:03:15
working and the next day you turn out
0:03:22
it was working why is it not working now
0:03:26
yeah but that's where the final large
0:03:39
um to be honest i didn't do anything in
0:03:44
middleware all i did was um added
0:03:47
the headers in the api gateway as in
0:03:51
in the api itself but
0:03:54
yeah but the best part is that um
0:03:57
the express app is working because i've
0:04:01
posted using postman and that's working
0:04:05
it's the post in the fetch
0:04:09
api that's causing the issue
0:04:17
like because i remember mine was working
0:04:24
so how about if we test at once do then
0:04:28
that would be a good place to start
0:04:31
i think it might just be my end that's
0:04:35
yeah it could be if yours work and i
0:04:39
noticed um my face is looking a bit
0:04:43
oh yeah show it to us
0:04:47
show it to us can you turn on your
0:04:51
oh yeah i'm gonna and i'll probably have
0:05:54
you yeah i can hear you you're it
0:05:58
i can't hear you still oh can you not
0:06:04
can you hear me then um it might just be
0:06:19
yeah can you hear me
0:06:27
uh i can't uh this must be the reason
0:06:30
why hang on a minute
0:06:43
i should have taken off this
0:06:59
this is really interesting
0:07:04
does it work now yeah do you need it
0:07:08
yeah i can hear you perfect
0:07:11
so i'll just show you by unplugging it
0:07:15
monitor because i don't really want to
0:07:30
actually pretty good yeah
0:07:33
and plus the best part it doesn't even
0:07:37
you just plug it in the usb and
0:07:42
off it goes nice how much was it
0:07:47
i think it was around 30 to 40 bucks
0:07:52
nice that's pretty good
0:07:55
i mean it's really worth it my message
0:07:59
saying that i'm gonna use this to do my
0:08:02
makeup now and i'm like yeah okay
0:08:09
okay um back on track uh do you want to
0:08:12
share your screen all right go
0:08:16
let's test your one
0:08:47
okay that's a bit of wow you have
0:08:51
oh it's just gonna say wow
0:08:56
all right you did not see them
0:09:05
oh boy this was the same thing that i
0:09:08
i was i wasn't getting um
0:09:12
yeah you wouldn't even go in the dvd so
0:09:14
no point him and checking
0:09:18
right so but um if you
0:09:21
do no cause then it does actually
0:09:26
work but it doesn't send it off to the
0:09:31
as in it doesn't insert to the db
0:09:44
so this works but it doesn't insert in
0:09:48
yeah because the problem is in the
0:09:51
can you show me your code
0:09:56
okay if you want to see express code
0:10:00
gonna have to open that in another
0:10:04
uh middleware no this is not the one
0:10:33
come on vs code today would be nice
0:10:38
it would be a nice day to open
0:10:44
okay there you go that's the
0:10:48
app i can't see your screen though
0:10:51
oh you can't i think
0:10:57
can you also operate my uh
0:11:00
operate the stream yard from from your
0:11:05
um that's my screen you didn't you
0:11:07
didn't start shooting
0:11:09
oh sorry my bad i didn't realize that
0:11:32
okay santa's gonna come back
0:11:36
pretty sure he closes his browser window
0:11:37
by mistake and that's all good
0:11:40
that's all right oh it doesn't
0:11:47
hello there's um you need to add
0:11:51
i am just doing that one
0:11:55
okay there you go you should be you
0:11:58
should be able to see my screen now yeah
0:12:00
it's loading up there we go
0:12:04
all righty on that one
0:12:07
cool so this is my
0:12:13
and this is the create board function
0:12:19
yeah now that's that's fine i guess we
0:12:24
didn't change anything in this right
0:12:26
no i don't think so can you go on the
0:12:34
right is that any different
0:12:41
no i'm just seeing
0:12:55
did you install the course package
0:12:59
of course smaller than this
0:13:03
can you check them
0:13:12
here we go because if it
0:13:16
wasn't installed then lambda
0:13:19
footage showing an arrow
0:13:23
cloud watch wait oh one second
0:13:44
okay so it's inserting the board
0:13:48
for me this is but
0:13:51
you stay in the database though yeah
0:13:55
hi andre how are you doing mate welcome
0:13:59
uh says inserting the board in the db
0:14:12
so right now there are 10 ins uh 10
0:14:15
boards i think that's the older version
0:14:19
because i was playing about but then
0:14:22
i started all with none
0:14:26
oh with older version of the api hang on
0:14:30
um i'm just gonna check
0:14:33
how many items are in this table at the
0:14:38
okay cool them i'm my it
0:14:41
must have been my memory then my bad
0:14:46
board okay i'll delete them all
0:14:51
and now if you want to insert the board
0:14:54
from the fetch api
0:14:58
you don't have to change your screen
0:15:00
don't worry about it
0:15:02
oh you want me to hold it yeah
0:15:05
yeah can uh right now
0:15:10
have you done it refresh your page yeah
0:15:17
so the board is coming in but we don't
0:15:19
you know getting the
0:15:24
that's what meant that the board name
0:15:27
coming through only the board name as in
0:15:31
but the name isn't so the interesting
0:15:37
i think we can't even see the error can
0:15:44
um so basically we can only see the
0:15:47
error if the error is in the api
0:15:50
but the error isn't in the api because
0:15:54
the api is working fine and how can i
0:15:58
tell that because if you post it from
0:16:00
postman it does work
0:16:02
um the error is in the fetch api
0:16:08
not the backend api which is express
0:16:13
that's interesting
0:16:16
so if you if i just um
0:16:21
i'll play that one up hang on a minute
0:16:24
i'm gonna open this one up and if i
0:16:28
think the error is this
0:16:31
that you're not being able apparently we
0:16:34
are not passing in
0:16:40
http status code which is 200 apparently
0:16:45
okay isn't it right
0:16:53
am i doing this python is simple
0:17:00
ah no that's not gonna work because it's
0:17:15
so cool no that's not gonna work i'm
0:17:19
hang on why did this work
0:17:25
why did this work because i
0:17:28
placed it in quotes it's not normally
0:17:31
in quotes that's fine is this the name
0:17:34
of the module right
0:17:38
to be honest i don't know so
0:17:42
i'm pretty sure i mean means
0:17:54
oh come on what was it
0:18:03
oh boy don't worry okay
0:18:07
don't worry mate we'll get through this
0:18:11
just think how much you're getting to
0:18:15
learn about real life software
0:18:20
testing that because that's the fun bit
0:18:24
solving problems yeah uh
0:18:28
test okay so see here
0:18:31
yeah it says this one um
0:18:36
response preflight request does not pass
0:18:40
control check why because it doesn't
0:18:43
have http okay status
0:18:46
okay um so last time this happened we
0:18:50
redeployed the app and did the course
0:18:52
i did that as well yeah i did as well
0:18:56
last last night i did them manually
0:18:59
again because apparently
0:19:01
none of it was there
0:19:04
but the url same so i don't think you
0:19:09
yeah i redeployed it as in updating the
0:19:16
yeah so last night when it's happening
0:19:19
we deleted the app and then redeployed
0:19:26
yes yes see you're saying we should
0:19:30
do the same here i mean that was the
0:19:33
only way we choose all the core there i
0:19:37
huh we can try that yeah
0:19:41
or i mean resolve it because
0:19:45
this just appeared out of nowhere
0:19:49
yeah i think we should just
0:19:52
try it that way because last time steve
0:19:59
let's see if it does this time yeah all
0:20:02
i'll go to cloud formation
0:20:06
and delete the stack yes please
0:20:12
and how was your exam by the way
0:20:15
that was pretty good um i got a 4.5 out
0:20:22
yeah we had 10 questions and we had to
0:20:26
in like uh four hours
0:20:29
ah wow 10 questions four hours
0:20:32
so that's about yeah
0:20:35
40 minutes wow wow 24 minutes per
0:20:43
there are still like pretty long
0:20:46
ah okay cool i see yeah
0:20:50
all right let's delete that but this
0:20:52
would mean that we
0:20:54
would have to update the
0:20:58
function uh the table as well
0:21:02
yeah that's true this one's like i'll
0:21:05
it's like hole oh you reminded me about
0:21:10
that as well i need to get water yeah
0:21:12
i'll be right back
0:21:22
all right guys i'm just gonna
0:21:25
get some water here we go
0:21:28
cool let's get back into action
0:21:35
and see the api deploy i
0:21:39
actually delete first
0:21:42
because i want to make sure that it's
0:21:44
deleted and then we can
0:21:46
see it deployed so as you can see it's
0:21:52
to the api which is in a different
0:21:57
vs code window and we
0:22:00
can um scrum the app
0:22:07
api or what you want to call it api
0:22:11
yeah i'll say api not app because
0:22:16
api is a part of the app yeah
0:22:21
all right um so i'm gonna just deploy
0:22:27
see it's going yeah cool so
0:22:30
just making sure that awsome folders
0:22:34
sam build folder is deleted before i
0:22:38
so i'll do sam build
0:22:43
all right and all right
0:22:46
so just delete the
0:22:50
cloud formation stack it'll take time to
0:22:53
delete it'll take like five minutes to
0:22:55
delete i'm pretty sure
0:22:56
it's done already really oh wow
0:23:01
you sure yeah well
0:23:04
show it to you you got new internet
0:23:09
oh i just cannot make a
0:23:13
joke of it i've just invested in my
0:23:16
internet what do you mean it's deleted
0:23:23
here haven't i needed the first one
0:23:27
no it was called this scrambler api
0:23:31
one no that's deleted
0:23:35
oh wait this here this is this one right
0:23:40
huh nice no that's that's pretty good
0:23:44
okay cool right so
0:23:47
let's can you meet your discord please
0:23:52
my discord friends i really love your
0:23:56
discord don't you yeah
0:24:06
okay now we will deploy it
0:24:16
let's go api one button button
0:24:19
yes changes for deploy now the
0:24:23
same role creation
0:24:28
did you complete your senses then
0:24:31
not yet man still have i think
0:24:34
two or three days yeah don't worry about
0:24:39
night huh oh yeah wednesday night still
0:24:40
wednesday night yeah don't worry but it
0:24:43
just be a matter of five minute job
0:24:48
my mates are like thinking like it'll be
0:24:50
a two hundred dollar fine or something i
0:24:52
think there is a fine they're not doing
0:24:55
on time i think there's a fine for not
0:24:59
doing it that's all right
0:25:00
ah okay coco uh andre saying why are you
0:25:04
doing a for if break
0:25:09
the reason bidding break because
0:25:13
loves break statements
0:25:16
so just to make him happy we inserted
0:25:20
i think there was a lot of if we find
0:25:24
we don't want to go through all the
0:25:25
boards like we just want to get one
0:25:29
if we found it then we don't want to go
0:25:31
forward that was intense
0:25:36
like this is not our best practice so
0:25:39
what would you recommend our andre there
0:25:42
we should be using in this case
0:26:09
actually i'm gonna google that
0:26:12
well i just asked on dre because i'm
0:26:32
to use instead of break
0:26:49
oh we can actually use exit
0:26:56
break out for loop no we don't want to
0:26:59
break okay i'll do this as well
0:27:10
i okay can you search for that as well
0:27:14
your yes and because i wanna also
0:27:18
make sure that we are not um
0:27:21
holding the api yeah
0:27:26
replace break by going fun
0:27:30
break and continue
0:28:06
so it does say that break is okay
0:28:09
apparently apparently
0:28:12
um is that not a good practice
0:28:16
andre to use break
0:28:21
just a bit confused now yeah
0:28:24
okay um api is deployed if you
0:28:31
oh yeah true i need to give you that and
0:28:34
by the way you wouldn't test it at the
0:28:37
i need to update the table name as well
0:28:41
and uh you have to apply the course
0:28:46
oh yeah you know how towards this whole
0:28:50
of like yeah you you know what i'm doing
0:28:53
yes i know what you're talking about and
0:28:55
that's always fun to do
0:29:02
is that your brand new
0:29:06
catch phrase as it oh
0:29:10
boy he said oh wow i like him
0:29:14
so for now the resource is not found
0:29:18
so yeah you need to go yeah because um i
0:29:22
updated the table name
0:29:25
in the express app that's why saying
0:29:30
i need to do that first
0:29:35
do we have all by the way i saw that
0:29:38
we have got a new follower today again
0:29:42
which is brilliant that's pretty good
0:29:46
even on the youtube after streaming with
0:29:51
you had like 28 subscribers and after
0:29:55
like 39 or 40. oh phenomenal
0:30:03
we should do that videos and um can you
0:30:06
and yeah yeah it'd be
0:30:10
really fun to be honest well i can
0:30:13
guarantee you that's
0:30:15
at least getting at least a thousand
0:30:18
if not yeah at least
0:30:22
let's see okay i'm gonna focus on
0:30:26
this a bit because i want to get this
0:30:30
right all right um
0:30:33
that's the api that's raise the tip
0:30:37
that's the function no i don't want the
0:30:40
i want the db header load
0:30:43
that one roll created oh okay
0:30:47
so it doesn't really show the function
0:30:50
the db that will be in the mdb
0:30:54
yeah i was hoping that i could just
0:30:58
go there and get it from the
0:31:07
cannot do that because
0:31:11
the it won't allow me to
0:31:17
let's oh wait you can't you can't do
0:31:22
no it doesn't come up here
0:31:29
in terminal it doesn't come up yeah yeah
0:31:33
yeah i thought you can't do that
0:31:37
or not he'll be as in
0:31:42
stupidity of me if i said that
0:31:51
all right table and
0:31:55
there we go that's the table name
0:32:04
a storm paste and paste them
0:32:24
all right that's good is that the one
0:32:28
i'm pretty sure that's the one yeah
0:32:32
yeah last time you had the call
0:32:37
let's deploy this again and see what
0:32:42
why don't we rename our stream to 30
0:32:44
minutes of deployment and 30 minutes of
0:32:50
actually do that that's a pretty cool
0:32:54
and three minutes of deployment same
0:33:01
can you do that now or won't allow you
0:33:05
i'm doing it yeah okay i'll do an angry
0:33:14
that we are not happy with it
0:33:18
do um three minutes of deployment
0:33:22
angry emoji and then three minutes of
0:33:24
coding a really ex
0:33:26
excited face okay on it
0:33:39
i don't know if you have heard about the
0:33:43
that and there's a dev having a chat
0:33:51
coffee in the kitchen and then
0:33:54
his his his manager comes and
0:33:58
says oh why on to work
0:34:02
and he goes the code is
0:34:05
deploying and he goes okay cool
0:34:10
this is the name of our stream now love
0:34:13
it three minutes of coding
0:34:18
brilliant all right that one
0:34:21
that one that one that one
0:34:31
actually what i might do is we might
0:34:34
do a blog of this title
0:34:38
as well for today and three minutes of
0:34:41
deployment three minutes of coding
0:34:43
we can call it deployment day how does
0:34:50
deployment day yeah yeah
0:34:54
that's that's fine because hardly coding
0:35:02
we're highly coding so that would make
0:35:08
so every year on 9th of august we'll
0:35:10
celebrate deployment there
0:35:13
yeah yeah that'll be fun
0:35:16
deployment day yay
0:35:24
okay it's about to be done hopefully
0:35:29
oh man i can't wait for my green screen
0:35:33
it'll be really as in change of things
0:35:37
because at the moment you're looking at
0:35:41
me from this side but when the screen
0:35:45
comes you i'm gonna be right in your
0:35:50
that's pretty good
0:35:54
how are you gonna put your filter or
0:35:58
are you gonna like stream with the black
0:36:02
uh i'll put our banner
0:36:06
at the back oh yeah nice yeah that'll be
0:36:10
yeah i think that's your
0:36:14
friends your friends come in
0:36:19
what which one hype rats
0:36:25
welcome i think there's your friend
0:36:29
i actually don't know it i don't think
0:36:43
all right i'm do you wanna
0:36:46
oh you better go how's it going
0:36:53
okay i'll give it a go um all right all
0:36:56
i'll change your screen now
0:37:06
okay we need to dip it's already
0:37:08
deploying running i'll deploy
0:37:17
wait so is the resource found now
0:37:21
yeah it must be fun because i've updated
0:37:31
come on let's give us some
0:37:34
loving now of course okay
0:37:37
so look at that here oh you didn't you
0:37:42
you didn't configure that ah was
0:37:45
that the thing that was coming up
0:37:49
it's the same thing the course isn't
0:37:53
we try let's do that i honestly don't
0:37:58
any practice i'm so sorry
0:38:01
oh you're such a bad friend coffee
0:38:12
no no i don't i'm sorry come on kay
0:38:16
you can't do better than this i know
0:38:19
i school friend called oh
0:38:22
yeah it's him ah okay there we go
0:38:26
nice how's it going pradesh
0:38:30
wait how'd you find me that's the main
0:38:33
yeah how did you find me
0:38:37
that's the main question
0:38:45
oh linkedin nice that's cool
0:38:50
all right so please go to high school
0:38:54
um ah right yeah and
0:38:57
that's back in india is it yes and
0:38:59
that's why he mentioned library because
0:39:01
he used to bank classes in the library
0:39:07
yes seems like he's a
0:39:11
good friend of yours yeah yeah
0:39:16
uh okay where were we um
0:39:19
we need to do a method saying post
0:39:23
yeah create method post and there we go
0:39:30
and then enable the cause on all of them
0:39:38
sorry bro sorry i actually didn't forgot
0:39:42
because in uni like because most of the
0:39:44
people i've sent this to
0:39:46
it was like uni friends and it was like
0:39:49
i don't have a friend in uni though
0:39:52
uh okay cool i say i say yeah yeah so
0:40:00
we are building um there's a open source
0:40:03
project called scrambler.ca
0:40:05
um we are rebuilding it uh
0:40:08
with our own enhancement which is mainly
0:40:11
persistent storage
0:40:13
so that's what we are focusing now and
0:40:16
if you're wondering the stack we are
0:40:17
working on right now it's mostly an
0:40:20
um app api with and we're trying to
0:40:24
um fetch with that now and obviously
0:40:28
as you can see on the screen
0:40:32
why have i got to as in aws
0:40:36
services opened in two different
0:40:40
that's just really hard to manage you
0:40:43
yeah i shouldn't be doing that
0:40:48
you can close cloud front we don't need
0:40:56
okay hang on i'm gonna do this this and
0:40:58
then just focus on
0:41:12
actually to be honest i'm really
0:41:15
surprised about this
0:41:17
sport the power of the spotlight
0:41:21
yeah voice side is
0:41:28
yeah i can actually see that
0:41:33
thank you pratyush um
0:41:36
yeah then he's wishing us luck see you
0:41:40
later bye thank you
0:41:48
i play gateway there we
0:41:55
okay i've already opened that don't
0:41:58
don't need to open it again
0:42:02
no no just um opening up
0:42:07
api to api get with two times but i've
0:42:10
already opened up once yeah do you
0:42:13
remember how to do the course
0:42:21
think i know how to do it
0:42:25
okay yeah me too i think so
0:42:28
but i'm not 100 sure as in so
0:42:31
i just give it a try
0:42:34
if it doesn't work we can always go back
0:42:38
yep so you have to click on post first
0:42:47
come on api gateway i can i need to
0:42:51
add the lambda function there
0:43:03
uh okay we don't want to do that right
0:43:07
um you need to give out watch
0:43:09
permissions as well of
0:43:10
the api yeah yeah i will do that
0:43:14
yeah but just one thing
0:43:17
at a time one thing at a time
0:43:21
so that's going on
0:43:25
huh uh we'll go into actions right we're
0:43:28
doing chorus first
0:43:37
that one that one that one
0:43:42
yes now we are getting the 200 one as
0:43:45
which is not actually
0:43:49
200 master response please empty
0:43:52
at 200 method response
0:43:55
with empty response model to options
0:44:00
but we don't have an options method
0:44:03
it'll create an options menu
0:44:05
there we go it does automatically click
0:44:08
it now and then add course to that
0:44:11
uh why add course to that
0:44:14
it needs a response method um responsive
0:44:26
this is that add a response
0:44:30
200 and then do that
0:44:35
and then what we need to do is add a
0:44:38
model as well with
0:44:44
to be honest i don't really know what's
0:44:45
the point of adding a model
0:44:47
to be honest do you um
0:44:52
i guess model just defines what is the
0:44:59
course policy like like here we are
0:45:02
applications slash json so
0:45:05
it's just a way of like
0:45:09
um refining stuff to a particular
0:45:12
um data type kind of
0:45:16
it's more on of a security side of
0:45:18
things that it'll only
0:45:19
allow things which are in adjacent
0:45:26
so that's what kind of more or less
0:45:30
i say you need to wait with it
0:45:34
if you go on options
0:45:43
going on we didn't give the headers
0:45:46
yet i think they come autumn
0:45:51
they do um can you do it um
0:45:54
they come automatically when the
0:45:58
calls are enabled for the
0:46:01
response method too yeah i think so but
0:46:05
i'm not entirely sure so
0:46:07
that's why i just want to check
0:46:10
if that is the case
0:46:15
so this should come automatically
0:46:20
okay that's fine um
0:46:24
you probably need to go ahead and add
0:46:29
so now they know they don't i guess
0:46:33
hang on but last time the other
0:46:41
that's on uh metal integration it comes
0:46:48
no i was hunting for the
0:46:53
you know how he showed us those lists
0:46:57
as in everything is enabled except the
0:47:01
method response 200
0:47:04
i was hunting for that part there but
0:47:11
go to post and add those
0:47:24
okay so this is that one
0:47:37
okay yeah so add this
0:47:40
x is meant i just i just didn't
0:47:44
want to do that and the
0:47:48
origin method response header
0:47:53
to post okay you know what i'm gonna do
0:47:58
i'm gonna copy and paste this both
0:48:02
and open in my word
0:48:08
oh no don't need you
0:48:16
what are we doing here
0:48:20
basically i'm being a bit lazy
0:48:24
oh right well like
0:48:28
huh we're doing stuff right why are you
0:48:32
no i'm being lazy by not typing the
0:48:36
i just want to copy and paste the stuff
0:48:40
that's called smart use of technology
0:48:44
true oh why don't tell me that i'd
0:48:50
close the api okay
0:48:53
let's open it up again i don't think it
0:48:55
did it's there's one thing
0:48:57
one more open on the back of it oh
0:49:00
there's none oh never mind
0:49:01
no there's none you did
0:49:06
and i mean wakey wakey
0:49:16
all right um so this is come on mate
0:49:22
okay this is 60 minutes of deployment
0:49:26
i think all we have done is deployment
0:49:29
today to be honest
0:49:32
we haven't coded anything away is a
0:49:34
skill as well in itself
0:49:40
um api is there go go go
0:49:43
there we go oh i really have to
0:49:46
delete all those apis that was doing a
0:49:59
guys to tutorial of
0:50:08
so in the post method we need to go
0:50:12
yep that's the one
0:50:20
and method response header cool
0:50:24
so we need to add our header here as
0:50:33
add header add access control allow
0:50:39
method response which is
0:50:42
header integration header
0:50:47
okay that's fine allow this one there
0:50:52
and do that and then response
0:50:55
model would be empty
0:50:58
and then application.js application
0:51:08
okay and what else did we have to do
0:51:12
add access control region in
0:51:16
allow region in the integration response
0:51:21
okay so go back integration response is
0:51:26
print proxy uh integration cannot be
0:51:32
all right we are doing a proxy
0:51:36
we're not supposed to be added to proxy
0:51:38
then yep added to proxy
0:51:41
i mean like options then
0:51:50
come on fast internet
0:51:55
integration response that's already
0:52:01
okay that's fine headed mappings
0:52:05
yeah that's there already
0:52:08
yeah that's good now
0:52:12
what we do is uh yeah let's
0:52:16
let's uh yeah do this course enable
0:52:23
come on give me some loving now
0:52:27
he gave me some gave me loving
0:52:32
okay do that any as well
0:52:35
come on may enable
0:52:39
cause didn't didn't
0:53:00
integration response was that all done
0:53:03
yeah it was all done
0:53:07
yeah respond and it will cause
0:53:11
oh hang on hang on a minute i just saw
0:53:16
what supposed well which wasn't supposed
0:53:19
to be there i think
0:53:22
integration request mock that's a
0:53:25
lambda function all right that's true
0:53:28
good catch that's not supposed to be
0:53:36
what was our lambda function
0:53:42
there we go and this one was there
0:53:47
cool atp lavender function
0:53:50
co-integration request
0:53:52
you will not be able to receive the
0:53:54
previous execution of configuration
0:54:00
it's land integration actually
0:54:08
don't believe this is this actually
0:54:11
seems and sound sounds weird
0:54:15
we haven't done that in the previous
0:54:20
let's not and see if it works yeah
0:54:24
um that that's exactly what i thought
0:54:28
okay this one is there this would be
0:54:32
cool these all are there perfect
0:54:42
we've done that already yeah for this
0:54:48
and now we what we need to do is deploy
0:54:51
as well http status is there already
0:54:56
yeah yeah i've i've just got funny
0:55:00
requires more as in method and headers
0:55:04
but we will deploy if it doesn't work
0:55:20
okay i'm just gonna go ahead and deploy
0:55:31
do you wanna try from your end now yeah
0:55:36
yeah it's deployed okay let me try
0:55:40
and just make sure you've got the right
0:55:44
endpoint yeah so it starts from zed
0:55:49
i mean i can open it i can open it in my
0:55:52
pretty sure it's right
0:56:04
actually i can't see i need to
0:56:17
give me some laughing okay he gave us
0:56:22
did he give us no no
0:56:26
but he's not doing the board name still
0:56:31
not even close but no error that's weird
0:56:36
this is this is not where this is a good
0:56:40
yeah but it's not working right so give
0:56:48
um what i can do this i'll not
0:57:09
back into cause as in instead of
0:57:12
no cause do cause as in
0:57:15
if you have no cause then it works
0:57:19
but it doesn't insert it
0:57:43
oh man all right time
0:57:46
so it says that it doesn't uh
0:57:50
have you tried and do a hard refresh
0:57:54
um i don't really want the cash to
0:58:12
not even close why is there only two
0:58:18
and i'm posting more so if you see
0:58:22
with cores on the board isn't even going
0:58:26
i'll show you now it's no course let's
0:58:29
see the board goes to
0:58:31
the board does go fruit bar with no
0:58:34
quotes you shouldn't go through
0:58:36
as in with cause it shouldn't go through
0:58:41
yeah but with this it's the board is
0:58:44
coming see the board counting
0:58:51
try and be a bit specific um with no
0:58:55
cause the board works but the board name
0:58:59
yes so in either either way
0:59:02
the board name the board name doesn't
0:59:10
um i'm just trying to think
0:59:14
because the error is in the api
0:59:17
um in the fetch itself
0:59:21
yeah can we stop it from loading to the
0:59:25
next page how do we do that
0:59:40
and just command that line
0:59:50
yeah this one yeah
0:59:54
now at least we can see the error
1:00:04
don't forget to hard refresh i didn't
1:00:11
we don't get an error but did you uh at
1:00:15
you're doing no chords isn't it yes
1:00:18
do it with cause because we want this
1:00:28
let's see how different a lot of times
1:00:36
cool so that's the problem so
1:00:39
it does not have a http okay status
1:00:42
how about if we put the status of
1:00:46
http okay in the fetch api itself
1:00:50
because is in the api gateway
1:00:54
um but it's not present
1:01:05
oh okay the status okay has to be there
1:01:14
so it's something to do with the course
1:01:18
and probably something to do with the
1:01:23
i'm gonna check how to insert the http
1:01:26
status okay all right i'll do that as
1:02:11
so it says status response status
1:02:26
create a new request
1:02:30
fetch quest that one returns 200
1:02:35
i think we need to insert the response
1:02:42
response so response
1:02:46
do we need it we are not using it right
1:02:51
because for some reason brows is
1:02:55
asking for it so we have to make the
1:02:59
yeah you have to make the browser happy
1:03:02
right okay i would say uh
1:03:21
is in that way hang on
1:03:26
fast documentation okay yeah it's not a
1:03:29
function nevermind sorry
1:03:41
i have a feeling that we are perceiving
1:03:42
the error in a wrong way
1:03:44
but let's try this and see
1:03:50
right i think it just means that
1:03:54
this course is blocking it and the api
1:03:58
uh http okay status oh
1:04:06
the cause is blocking
1:04:22
actually you know what yep
1:04:31
i'm just thinking that
1:04:36
why is he not receiving the http status
1:04:51
fetch if you're not receiving
1:05:14
okay let's see what this gives a using
1:05:18
query an end point
1:05:24
to get jesus wasn't getting back uh
1:05:28
huh no cause except
1:05:36
okay and the end of things
1:05:39
is sorted in our listener status is
1:05:42
empty by by headache
1:05:44
list is empty and what is known that the
1:05:48
video better because you have no
1:05:50
cause flag if you want to cross the
1:05:58
uh the probably can error know some
1:06:03
filter response we don't need this no
1:06:06
this wouldn't work
1:06:10
people are using it like this oh you
1:06:12
shouldn't see this then seems clean
1:06:14
yeah people are using an
1:06:21
so if the response is that one
1:06:25
this can be just down control
1:06:28
load as frowner ah right
1:06:32
so you're thinking around another way
1:06:34
that we have to give it a response but
1:06:36
it's just yeah yeah yeah good true true
1:06:40
yeah i was probably wrong in that way
1:06:44
so it it definitely
1:06:47
needs to be authorized from the api
1:06:51
yeah uh but it's fine let's come back to
1:06:55
um oh oh my goodness sake
1:06:59
it's 10 40 is a completely
1:07:02
lost track of it oh yeah yes
1:07:07
thanks for reminding me though
1:07:15
yep see you guys tomorrow um i think
1:07:19
a lot of deployment
1:07:26
today's session was dedicated to
1:07:29
deployment apparently
1:07:30
well we'll come back tomorrow uh with
1:07:33
same thing and see you guys tomorrow
1:07:37
same place same time and same task all
1:07:41
cool yeah good night cheers cheers bye