batch_writer: maximum recursion depth exceeded
See original GitHub issueDescribe the bug I keep getting “maximum recursion depth exceeded” when trying to use batch_writer. It seems to work with some payloads and not others.
I found this issue and tried the “fixes” there but nothing seemed to work for me. Is there anything else that will fix this?
Steps to reproduce
def batch_put(self, items):
with self.table.batch_writer() as batch:
for r in items:
batch.put_item(Item=r)
Expected behavior batch_writer to insert all items
Debug logs
maximum recursion depth exceeded
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
RecursionError using batch writer #2071 - boto/boto3 - GitHub
RecursionError : maximum recursion depth exceeded while calling a Python object. Is there any other way to solve this problem?
Read more >Batch Limitation - Maximum Recursion while browsing menus
Maximum setlocal recursion level reached. I suspect this is the recursion limit you are reaching. UPDATE: Actually, the limit is 32 SETLOCAL per ......
Read more >maximum recursion depth exceeded in comparison
Recursion error: maximum recursion depth exceeded in comparison This can happen with very large or deeply nested source files. You can carefully increase ......
Read more >batch-write-item — AWS CLI 1.27.33 Command Reference
Any individual item in a batch exceeds 400 KB. ... Use this estimate to measure whether a local secondary index is approaching its...
Read more >Recursion Depth Exceeded - Python MA Cross by Tomes
RecursionError : maximum recursion depth exceeded while calling a Python object (Open Stacktrace). Is something like this format still possible to make work ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi again @tim-finnigan,
It turns out I was passing a
<class 'bs4.element.NavigableString'>
to my Dynamo put_object. Converting the<class 'bs4.element.NavigableString'>
to astr()
solved my issue. Thank you for all your help!⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.