You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you post your code for setting up the client and/or FlagProvider config?
I've gotten a similar error to this and it was because I didn't have the URL specified correctly. The error looks a bit like the toggles were never returned from the server (making toggles undefined), which could indicate an error in your configuration. 🤔
@mavericardo Thanks for the report. Could you provide a reproducable example here? I suspect there may be a configuration issue, even though the error message looks scary. I'd like to get to the bottom of this, so any information you could give me would be appreciated!
In particular I'm interested in:
Are you using any kind of bootstrapping mechanism? If so, what does the data look like.
Which URL are you configuring the client to hit to retrieve data. What does the data look like coming back from the API?
It looks to me like the client is configured with an URL that responds with data that does not match the schema.
Describe the bug
I'm trying to check my feature toggle using the hook
useFlag
from@unleash/proxy-client-react
But I'm getting the following error within library:Steps to reproduce the bug
Expected behavior
Returns my feature flag information.
Logs, error output, etc.
No response
Screenshots
No response
Additional context
No response
Unleash version
"@unleash/proxy-client-react": "^3.6.0" - "unleash-proxy-client": "^2.5.0"
Subscription type
None
Hosting type
None
SDK information (language and version)
React
The text was updated successfully, but these errors were encountered: