Happy Business Starts Here

Re: INVALID_VALUE::Can only update the last segment of a RateplanComponent

Highlighted
Valued Scholar

INVALID_VALUE::Can only update the last segment of a RateplanComponent

Hello!

When I try to update a custom field on a RatePlanCharge via SOAP API, I get this error on some records

 

INVALID_VALUE::Can only update the last segment of a RateplanComponent

 

What's the best way to fix this?

3 REPLIES 3
Highlighted
Valued Scholar

Re: INVALID_VALUE::Can only update the last segment of a RateplanComponent

Hi,

I have the same issue and I don't understand what does it mean.

Is there any person who can help us?

Thanks a lot

Highlighted
Zuora Support

Re: INVALID_VALUE::Can only update the last segment of a RateplanComponent

Hi Salmdo,

 

As the error mentions, you can only update a Rate Plan Charge if the isLastSegment field is set to true for them, as this indicates the Rate Plan Charge in the latest version of the Subscription which is in Active Status.

Let me know if that helps and makes sense.




If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Highlighted
Valued Scholar

Re: INVALID_VALUE::Can only update the last segment of a RateplanComponent

Hi AntonyS