Skip to content

Handling batch request exception #1311

Answered by jansenbe
nepgya2803 asked this question in Q&A
Discussion options

You must be logged in to vote

@ngqtrieu99 : see https://pnp.github.io/pnpcore/using-the-sdk/basics-batching.html#handling-batch-failures. You can execute the batch without it throwing errors, instead you get back a collection of errors and you can decide how to handle them (e.g. re submit via a new batch).

Also you don't have to worry about the number of requests in the batch, if a batch is too big we'll automatically split it into multiple batch calls (see https://pnp.github.io/pnpcore/using-the-sdk/basics-batching.html#batch-limits)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@nepgya2803
Comment options

@jansenbe
Comment options

@nepgya2803
Comment options

Answer selected by nepgya2803
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants