Firebase发生内部错误。 [ 错误的请求 ]

时间:2017-11-29 07:14:29

标签: android firebase

我做了firebase signineithemailandpassword,直到今天早上工作正常,但现在它给了我:

someMethod() {
    let foo: Foo = new Foo();
    foo.fooPropA = "Hello";
    foo.fooPropB = "World";

    let bar: Bar= new Bar();
    bar.barPropA = 1;
    bar.barPropB = 2;

    this.logObject(foo);
    this.logObject(bar);
}

logObject(obj: any) {
    // field will not be listed in keys if it's declared, but not defined
    const keys = Object.keys(obj);

    for (const key of keys) {
        console.log("key", key);

        if (obj.hasOwnProperty(key)) {
            console.log("value", obj[key]);
            console.log("value type is:", typeof obj[key]);

            if(typeof obj[key] === "string") {
                obj[key] = "EDITED";
            }

            if(typeof obj[key] === "number") {
                obj[key] = 123;
            }

            console.log("new value:", obj[key]);
        } else {
            console.log("no prop found:", key);
        }
    }
}

我的signineithemaiandpassword代码如下:

An internal error has occurred. [ Bad Request ]

所以,现在请告诉我signin auth中的问题,今天我的客户将测试它,所以请帮我快点。

由于

0 个答案:

没有答案