You're payload is a deceleration of some class. In that class, its trying to find the method "capacity". However, clearly that method doesn't exist, as it is throwing an error. So you need to write the method "capacity" inside whatever Class payload is a deceleration of. However, you probably shouldn't just simply declare the method. Clearly it does something. You should probably find out what it is supposed to do, and properly write the method.