Http api shards

Oh, sorry, I just meant that we're repeating the name. I just worry about changing the error check in the future and only changing one reference but not the other and then we're returning the wrong error message.