Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

execute_query_with_incremental_retry() method in client_context.py bug #933

Open
tkohegyi opened this issue Jan 20, 2025 · 0 comments
Open

Comments

@tkohegyi
Copy link

Hi,
Trying to use execute_query_with_incremental_retry() method in client_context.py - with success, however it seems it swallows all query issues silently.

Please, when ClientRequestException occurs and the reason is Microsoft.SharePoint.Client.InvalidClientQueryException - (=E400 Client Error) then don't retry, just fail the function.

In other words pls update def _try_process_if_failed to fail/exit in case status_code is 400, and don't continue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants