Invalid auth token reported as firewall issue
- Dominant language
- TypeScript
- Stars
- 131
- Forks
- 67
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 10
Description
Sometimes user will see the following error:

But the underlying exception is:
"Microsoft.Azure.Documents.DocumentClientException: The authorization token is not valid at the current time. Please create another token and retryMicrosoft.Azure.Documents.DocumentClientException: The authorization token is not valid at the current time. Please create another token and retry"
Currently any permission error is bucketed as a firewall issue. In this case, the user to spend time trying to "fix" their firewall or ask CSS why firewall isn't working. The exception should be caught separately.
Contributor guide
Research direction
No file or test is named. Locate the error-handling path that buckets permission errors as firewall issues, then inspect how the invalid authorization-token exception is surfaced. Done means this exception is reported separately from firewall errors and the existing behavior remains covered by verification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, typescript
- Domain
- authentication, database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100