barrage4u@lemmy.worldtoProgrammer Humor@lemmy.ml•Ah, when we lose focus for a second and then we don't even known what our code was supposed to do
2·
1 year agoThis is why I write down the questions I’m trying to answer in a text doc, e.g:
Where is this network call comming from? …/some-api-call.js Why do you think it’s causing a 403?
- I am authenticating correctly
- the object seems to exist in s3
- the bucket name is wrong
Etc. So if I lose my thought (all the time), I know exactly what and why I was doing it. Also stops you from re-investigating things you forget
It’s hard when you hit an endpoint that hits another endpoint, because technically the first request IS a 200. No right or wrong way as long as they are consistent and document it clearly imo