apigee 命令行工具无法为代理创建产品

apigee command line tool unable to create product for proxy

即使存在名为 income_prediction

的代理,以下命令也不起作用
apigeetool createProduct \
    --approvalType "auto" \
    --environments ${APIGEE_ENVIRONMENT} \
    --proxies income_prediction \
    --productName "income_prediction_trial" \
    --productDesc "Free trial API for income prediction." \
    --quota 10 \
    --quotaInterval 1 \
    --quotaTimeUnit "day"

我得到一个:

Error: Create Product failed with status code 403

您缺少必需的 --organization 参数(指定您为其创建产品的组织)。出于某种原因,apigeetool 没有要求它(它应该)。