Stream: hapi
Topic: Patient Resource POST limit
DevGeek (Oct 06 2020 at 11:53):
Hi,
I'm having a loop to create multiple POST request to create +500 patients, but some of them were not created and it returns "errError: Request failed with status code 500" in my console.
So is that related to limit in requests ? if so how can I fix it ?
Thanks
René Spronk (Oct 06 2020 at 13:21):
I'm guessing (I dont work with HAPI): could be a performance issue on the server. Have you tried placing the 500+ POSTS in a transaction bundle (or: a few transaction bundles), and posting the bundle to the server ?
Rey Limosenero (Dec 07 2021 at 10:56):
how do we handle such cases? is there any reference for POSTING large data?
Lin Zhang (Dec 07 2021 at 13:10):
Just as @René Spronk suggested.
Last updated: Apr 12 2022 at 19:14 UTC