This API isn't entirely normal so I don't expect it to return normal codes, but I can add these checks in.