-
Notifications
You must be signed in to change notification settings - Fork 409
Closed
Labels
Description
Issue is reproducible in Firebase cloud function and in the local cloud function simulator(started occurring from 13-nov-2020)
- Firebase SDK version: 9.4.0
- Firebase Product: remote config
- Node.js version: 10.10.0
Firebase node admin api "admin.remoteConfig().getTemplate() or config.getTemplateAtVersion" throws error
{"code":"remote-config/invalid-argument","message":"Version update time must be a valid date string"}
The issue is reproducible for all remote config versions updated today(using firebase ui or rest api).
Older remote config versions can be fetched.
config.getTemplateAtVersion(today's version) -> fails
config.getTemplateAtVersion(yesterday or previous version) -> works
Steps to reproduce:
update a remote config api using firebase ui.
get the template using the admin api
additional information
The version details of today's config(which doesn't work) look like
{
"versionNumber": "7771",
"updateTime": "2020-11-13T08:02:12.468168Z",
.....
}
Version details of old remote config (which work)
{
"versionNumber": "7740",
"updateTime": "2020-11-12T14:53:52.351Z",
...
You can see the time format is different for new and old remote config. I guess that's the reason why api is failing
VGJohn, ryanoboril, moshaheen, leonardoj-cit, silva95gustavo and 1 more