question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FirebaseRemoteConfigFetchException when fetching Remote Config

See original GitHub issue

Using GMS and Firebase 9.0.2

I set up my app with Firebase, features like Analytics or Notifications are already working. Now I tried to add Remote Config but every time I call fetch, I get a com.google.firebase.remoteconfig.FirebaseRemoteConfigFetchException.

I’m not doing anything special. Basicly, all I do is

FirebaseRemoteConfig.getInstance().fetch().addOnCompleteListener {
    toast(it.isSuccessful.toString())
    it.exception?.printStackTrace()
}

in my main activity’s onCreate method (nevermind the Kotlin syntax) and every time I get

com.google.firebase.remoteconfig.FirebaseRemoteConfigFetchException
  at com.google.firebase.remoteconfig.FirebaseRemoteConfig.zza(Unknown Source)
  at com.google.firebase.remoteconfig.FirebaseRemoteConfig$1.zza(Unknown Source)
  at com.google.firebase.remoteconfig.FirebaseRemoteConfig$1.onResult(Unknown Source)
  at com.google.android.gms.internal.zznv$zza.zzb(Unknown Source)
  at com.google.android.gms.internal.zznv$zza.handleMessage(Unknown Source)
  at android.os.Handler.dispatchMessage(Handler.java:102)
  at android.os.Looper.loop(Looper.java:148)
  at android.app.ActivityThread.main(ActivityThread.java:5417)
  at java.lang.reflect.Method.invoke(Native Method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:29 (5 by maintainers)

github_iconTop GitHub Comments

13reactions
ryanwalkercommented, Mar 30, 2017

I am having the exact same problem. This issue was closed with problems still existing it seems. Is anyone still having this problem? Has anyone figured out how to resolve it?

12reactions
bobtunecommented, Apr 3, 2017

I’m still getting this issue as well, using 10.2.0 Always comes back with a fetch exception with no detail message. Makes no difference whether I use a cache expiration parameter or not in the fetch call.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firebase remote config fetch failed with ... - Stack Overflow
Buth with the remote config I'm getting this auth token error. com.google.firebase.remoteconfig.FirebaseRemoteConfigClientException: ...
Read more >
Firebase Remote Config loading strategies - Google
In this strategy, your app activates fetched values on startup before attempting to fetch new ones, operating on the assumption that it may...
Read more >
Firebase remoteconfig fetch failed,task return com.google ...
// will use fetch data from the Remote Config service, rather than cached parameter values,. // if cached parameter values are more than ......
Read more >
Java Examples for com.google.firebase.remoteconfig ...
This java examples will help you to understand the usage of com.google.firebase.remoteconfig.FirebaseRemoteConfigFetchException. These source code samples ...
Read more >
Firebase Remote Config Fetch failed with user not authorized
I'm trying to set up my production application to use remote config, but I'm getting a FirebaseRemoteConfigFetchException. This project is already deployed, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found