Correctly handle http errors (register and tags)