for anyone who uses AWS RDS Data API, does anyone ...
# random
s
for anyone who uses AWS RDS Data API, does anyone know what “BadRequestException: Cannot find parameter: 13” could possibly mean? I logged the raw SQL, copied & pasted that into my PG client and ran it.. no problem inserting the data.
t
I've seen that error when I include a parameter in the sql but forget it in the params object
s
yeah, that’s what I thought too. but I added logger middleware to RDS in the SDK, and the insert statement works fine
maybe there’s a weird stray question mark and RDS is confusing that for a param
nah.. that can’t be. this is the raw SQL. unless I’m confused about how this works
although.. normally I’m inserting data into 12 columns. so there is something strange going on