Open TermeHansen opened 8 months ago
I also have the same issue
I've found the issue, there is a problem in the docs, the key template@odata_bind
should be template@odata.bind
.
However, there is another issue, once the Team gets created the resulting object is not returned and you receive None instead.
The Documentation of the API defines that it should return a Content-Location
header containing the created team id and an empty body, however, the SDK returns True
on self._should_return_none(response)
on HttpxRequestAdapter.send_async
and does not return the Team
data or the team id.
Hi @almeida-raphael, Thanks for trying the SDK. As you have discovered, the Teams api and the response is not a Team
object, You will need to use a header inspection handler to read the response headers
python environment:
Trying to add a new team with a very basic example from the general api documentation:
This is failing with a "The navigation bind for template was missing in request."