Closed MagneticZer0 closed 11 months ago
Not entirely sure what the issue is, but I noticed that there was a change in the refresh access token method. The data parameter used to be passed in via the data kwarg to the _request method and in the latest update it is now passed in via the json kwarg.
This is indeed why, will fix this ASAP.
0.2.10
is now released on pypi which fixes this bug, Thanks for reporting; o7.
Bad request returned for refresh_access_token method
After the most recent update, v0.2.9, I am no longer able to use the above method to refresh an access token as it returns a Bad Request due to not being able to parse the client_id. This same code worked in a previous version, specifically revision 8a62a05c1606e19f388ba049f089e747e0e0328d (may work in a later one, I just know that it at least works in this one as I've reverted back to it)
Below is a stacktrace
Platform + aiobungie(version) Info
Windows 11, Python 3.11, aiobungie tag 0.2.9 installed via poetry
Not entirely sure what the issue is, but I noticed that there was a change in the refresh access token method. The data parameter used to be passed in via the data kwarg to the _request method and in the latest update it is now passed in via the json kwarg. Not sure if this is related as there does seem to be some additional logic added to the _request method but I haven't had the time to comb it over just yet myself.