for some strange reason that i couldn't answer easily on the internet, the call above (which should be functionally equivalent) wasn't actually passing the id in the query string, only on prod. verified in the console that the change i made does the right thing.