about uscontact

Solution for [TypeError: 'builtin_function_or_method' object is not iterable] error in ERPNext

Author: zemna
Date: April 17, 2021
Share this:

When I use doc.items in Webhooks on ERPNext, I got [TypeError: 'builtin_function_or_method' object is not iterable] error message in Error Log.

It happens because Python dict has a built-in function "items()".

We can solve this error by using doc["items"] than doc.items.

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *


Professional software development agency estalished in Indonesia. We offers website setup, web application development, fulfillment service, and etc.
Follow us
Follow us to get latest news and tutorials.
2022 - Copyright, All Rights Reserved, Made by ZEMNA.NET with ❤️