-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
Description
Describe the bug
Whenever batch requests are made, I receive the following:
APIError
Code: 400
message: The server returned an unexpected status code and no error class is registered for this code 400
Expected behavior
no error recieved
How to reproduce
make batch request
SDK Version
No response
Latest version known to work for scenario above?
No response
Known Workarounds
setting base url manually:
client.request_adapter.base_url = "https://graph.microsoft.com/v1.0"
Debug output
Click to expand log
<Log output here>
Configuration
No response
Other information
I believe the issue stems from the BatchRequestBuilder init, which sets
self.url_template = f"{self._request_adapter.base_url}/$batch"
but the base url includes a trailing slash already.