Happy Business Starts Here

Highlighted
Scholar

zSubscribe EXCEPTION: System.ListException: List index out of bounds: 0

Hi

 

We're trying a zSubscribe callout to generate subscription for customer accounts. However, we're having a hard time debugging deeper with the error we encountered. Please see below error:

 

EXCEPTION: System.ListException: List index out of bounds: 0
STACKTRACE: Class.Zuora.SoapHandler.handleResponseRemoteException: line 62, column 1
Class.Zuora.SoapHandler.getResponseResultsNode: line 41, column 1
Class.Zuora.zApi.processAPICall: line 629, column 1
Class.Zuora.zApi.zsubscribe_0: line 595, column 1
Class.Zuora.zApi.zsubscribe: line 125, column 1
Class.ZuoraAPIInterfaceIMPL.zSubscribe: line 19, column 1
Class.ZuoraCallout.createSubscription: line 273, column 1
AnonymousBlock: line 5, column 1
AnonymousBlock: line 5, column 1
LINE: 62 COLUMN: 1

 

Would you enlighten us with the error or maybe some line of codes that was affected by the above error that was part of a managed package? Below is our createSubscription line 273

 

subscribeResults = zApiInstance.zSubscribe(subsRequestLists);