Apigeetool createProduct failing on proxy

Not applicable

running the following command:

<code>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"

Getting the following error: Invalid arguments: Error: Unknown argument income_prediction

Even though the proxy income_prediction exists:

7343-screen-shot-2018-08-23-at-20915-pm.png

0 2 148
2 REPLIES 2

Not applicable

My APIGEE_ENVIRONMENT was not properly set. That being said now I get error code 403.

Yeah even I am getting 403 Forbidden. No idea why it is happening.

BTW try using Managemnt API for Product Creation.

https://apidocs.apigee.com/management/apis/post/organizations/%7Borg_name%7D/apiproducts