JY2k
JY2k

Reputation: 2909

apigee command line tool unable to create product for proxy

The following command does not work even though there is a proxy by the name 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"

I get an:

Error: Create Product failed with status code 403

Upvotes: 0

Views: 142

Answers (1)

Deb E
Deb E

Reputation: 16

You're missing the mandatory --organization parameter (that specifies the organization you're creating the product for). For some reason, the apigeetool is not asking for it (it should).

Upvotes: 0

Related Questions