def METHOD_NAME(client):
    meta = load_response(
        client.create_storage_gateway, case="validation_error"
    ).metadata
    with pytest.raises(globus_sdk.GCSAPIError) as excinfo:
        client.create_storage_gateway({})
    error = excinfo.value
    assert error.http_status == meta["http_status"]
    assert error.code == meta["code"]
    assert error.message == meta["message"]