-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Hi Team,
I have enabled the DEBUG log using below code to debug the below error message:
Error message: Invalid batch payload format.
POST https://graph.microsoft.com/v1.0/$batch
SdkVersion : graph-java/v3.5.0
[...]
400 : Bad Request
[...]
[Some information was truncated for brevity, enable debug logging for more details]
Now I have enabled the debug mode using below code,
GraphServiceClient graphClient = graphClientBuilder.buildClient();
graphClient.getLogger().setLoggingLevel(LoggerLevel.DEBUG);
Now I am executing the batch request with 3.5.0 java SDK. I am not getting the debug statements. On debuging the source code i found BatchResponseStep class hard coded the verbose parameter with false by default. Please guide me to enable verbose logging for batch requests.
Code snippet:
throw GraphServiceException.createFromResponse("", "", new ArrayList<>(), "", headers, "", status, error, false);
AB#9533