Skip to content

Fix duplicate key exception on API 401 response#13

Closed
jonwalton wants to merge 2 commits intorackspace:masterfrom
jonwalton:ProviderBase
Closed

Fix duplicate key exception on API 401 response#13
jonwalton wants to merge 2 commits intorackspace:masterfrom
jonwalton:ProviderBase

Conversation

@jonwalton
Copy link

If an API response status is 401, we retry 1 time and send the current headers. On the 2nd attempt, we do not check if the X-Auth-Token exists which causes an "An item with the same key has already been added." exception.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants