Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added novalues #2428

Merged
merged 4 commits into from
Dec 22, 2024
Merged

added novalues #2428

merged 4 commits into from
Dec 22, 2024

Conversation

brock-statsig
Copy link
Contributor

Add NoValues to docs.statsig.com/client/debugging.

Definition: You've attempted to initialize, but it didn't successfully retrieve values. You're either calling initializeSync which is failing for users without cached values, or your call to initalizeAsync has failed (check that your client key is correct!)

@@ -81,6 +81,7 @@ When debugging why a certain user got a certain value, there are a number of too
| `LocalOverride` (old SDKs only) | From an override set locally on the SDK via an override API.| Normal||
| `StatsigNetwork` | Custom proxy/GRPC streaming has triggered the fallback behavior, thus falling back to Statsig API. | Fallback | Review your [proxy setup](/server/concepts/forward_proxy/), your values are up-to-date but not using the expected methodology. |
| `Uninitialized` | The SDK was not yet successfully initialized.| Error| Revisit your [Initialization Strategy](/client/javascript-sdk/init-strategies/), as you're checking configs before initialization is complete. |
| `NoValues` | You've attempted to initialize, but it didn't successfully retrieve values. You're either calling initializeSync which is failing for users without cached values, or your call to initializeAsync has failed (check that your client key is correct!) |
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The table formatting needs to be consistent with other entries. Suggest updating to:

| NoValues | You've attempted to initialize, but didn't successfully retrieve values. | Error | Check your client key and initialization method - initializeSync fails without cached values, initializeAsync may have failed. |

This maintains the 4-column structure (Source | Description | Status | Resolution) used throughout the table.

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

@jasonwzm
Copy link
Member

jasonwzm commented Dec 21, 2024

@jasonwzm jasonwzm temporarily deployed to pull request December 21, 2024 23:41 Inactive
@jasonwzm jasonwzm temporarily deployed to pull request December 22, 2024 00:19 Inactive
@brock-statsig brock-statsig enabled auto-merge (squash) December 22, 2024 00:49
@jasonwzm jasonwzm temporarily deployed to pull request December 22, 2024 00:52 Inactive
@brock-statsig brock-statsig merged commit 2e5bce5 into main Dec 22, 2024
3 checks passed
@brock-statsig brock-statsig deleted the add-novalues-to-debugging branch December 22, 2024 00:52
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.

2 participants