Http api shards

Why pay attention to the error here, but ignore it at line 293? Is that deliberate?