Happy Business Starts Here

Facing error while trying to use Orders API loader

Highlighted
Zuora Staff

Facing error while trying to use Orders API loader

Problem: 
The user is trying to cancel the subscription using Orders API Loader. But it failed with the below error message.
subscriptions.orderActions' Field 'cancelSubscription' is required when 'type' equals with 'CancelSubscription'.

Answer:
 
In this case, the issue was the fields: "subscription.cancellationpolicy" and "subscription.cancellationeffectivedate" were not provided with value. When these fields were populated, The import file successfully uploaded. 

In the below link you can find the Orders template and also the data dictionary that contains the description of each field in the template: 
https://knowledgecenter.zuora.com/Marketplace/Developer_Tools/Configure_API_Loader_for_Specific_Zuor...