FIREBASE WARNING: Invalid query string segment - Warning when deploying simple Firebase Cloud function

前端 未结 6 2229
日久生厌
日久生厌 2021-02-13 21:32

This morning I started noticing a large amount of \"FIREBASE WARNING: Invalid query string segment\" errors in my functions log. In an attempt to figure out wha

6条回答
  •  攒了一身酷
    2021-02-13 21:54

    After talking with Firebase support, I learned this bug was introduced in the npm dependency @firebase/database: 0.1.10. You will have this dependency if you also have the latest firebase-admin dependency.

    The warning

    shouldn't have any impact on the function's overall processing.

    If you want to remove the warning, you can force the npm dependency of @firebase/database: 0.1.9. I tested this adjustment and the warning was removed from my Firebase Console Logs.

    The support agent also stated the fix has been made, but not released, so I would expect @firebase/database: 0.1.11+ to not experience this bug.

提交回复
热议问题