- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Internal Error in subscription call.
Question:
Internal Error when sending a callout notification in Workflow.
Request
https://rest.apisandbox.zuora.com/v1/subscriptions
{ "accountKey": "XXX", "autoRenew": true, "contractEffectiveDate": "2020-04-06", "initialTerm": null, "initialTermPeriodType": "Month", "renewalTerm": null, "renewalTermPeriodType": "Month", "subscribeToRatePlans": [ { "chargeOverrides": [ { "billingTiming": "IN_ADVANCE", "listPriceBase": "Per_Billing_Period", "quantity": "0.000000000", "triggerDate": null, "triggerEvent": null, "productRatePlanChargeId": "XXX", "billCycleType": "ChargeTriggerDay", "billCycleDay": null, "billingPeriod": "Month", "billingPeriodAlignment": "AlignToCharge", "upToPeriods": null, "endDateCondition": "Subscription_End", "upToPeriodsType": null, "specificBillingPeriod": null, "specificEndDate": null, "weeklyBillCycleDay": null, "description": "Shadow Charge", "ChargeShadowId__c": "600" } ], "productRatePlanId": "XXX" }, { "chargeOverrides": [ { "quantity": "0.000000000", "triggerDate": null, "triggerEvent": null, "productRatePlanChargeId": "XXX", "weeklyBillCycleDay": null, "description": "Shadow Charge", "ChargeShadowId__c": "601" } ], "productRatePlanId": "XXXXX" } ], "termType": "EVERGREEN", "invoiceOwnerAccountKey": "XXX" }
Below is the error message in the response body.
{
"success": false,
"processId": "BB2815D737831C75",
"reasons": [
{
"code": 53000000,
"message": "Oops, internal error occurred, please try it again, and if it still doesn't work, please contact Zuora support."
}
]
}
Reason for failure:
If you are giving USD as your Trigger Event, then there should be a date given in the trigger date.
Solution:
If you want the system to use the contract effective date as the trigger date, please pass "UCA" as the trigger event.
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √