-
Notifications
You must be signed in to change notification settings - Fork 1
Implement AuthenticationError #16
Copy link
Copy link
Open
Labels
GrantFox OSSIssue tracked in GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official CampaignCampaign: Official Campaignarea:errorspriority:p1type:feature
Metadata
Metadata
Assignees
Labels
GrantFox OSSIssue tracked in GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official CampaignCampaign: Official Campaignarea:errorspriority:p1type:feature
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
Raised when the API key is missing, malformed, or rejected by the server (HTTP 401). Should tell the developer exactly what is wrong: missing key, wrong key format, or key revoked.
Proposed Steps
AuthenticationError(ShadeError)inerrors.py.hintfield with corrective guidance (e.g. "Check that you're using a secret key, not a public key").Acceptance Criteria
AuthenticationError.error.hintcontains actionable guidance.shade.api_keyisNoneand a resource method is called.ShadeError.