Firebase-tools: "An error occurred while loading functions" message in Firebase consol

Created on 25 Aug 2018  路  6Comments  路  Source: firebase/firebase-tools

When I load the main FUnctions dashboard I see a generic "An error occurred while loading functions".

In the devtools I can see this error message:

code: 403
message: "The v1beta2 API is deprecated. If you're using the gcloud or Firebase CLI, please update to the latest version. See https://cloud.google.com/functions/docs/migrating"
status: "PERMISSION_DENIED"

Although there's no error message during deploy.

Version info

4.2.0

Platform Information

OS X 10.13.5

Steps to reproduce

The error started after adding a function with enviorenment variables (functions.config())

After removing that funtion the error still persists, so I don't know if that was the issue.

Expected behavior

The functions dashboard should load without errors.

Actual behavior

The dashboard displays the error: "An error occurred while loading functions"

Most helpful comment

I also see this issue, in the Dashboard tab only. It is totally opaque, no hint as to what may have caused it, and it disappears before the main content loads.

screen shot 2018-08-28 at 12 52 29

Everything else seems to work normally, and everything in https://console.cloud.google.com/functions seems to be fine.

All 6 comments

I've removed every single function and created a simple function and the error still persists.

const functions = require('firebase-functions')
exports.createInvoices = functions.firestore.document('orders/{orderId}').onUpdate((change, context) => console.log('hello'))

This is my package.json in the functions folder:

{
  "name": "functions",
  "description": "Cloud Functions for Firebase",
  "dependencies": {
    "firebase-admin": "^6.0.0",
    "firebase-functions": "^2.0.5"
  },
  "private": true,
  "devDependencies": {}
}

I also see this issue, in the Dashboard tab only. It is totally opaque, no hint as to what may have caused it, and it disappears before the main content loads.

screen shot 2018-08-28 at 12 52 29

Everything else seems to work normally, and everything in https://console.cloud.google.com/functions seems to be fine.

There are some other symptoms. There is no way to see which functions exists, nor anyway to select a specific function in the other tabs.

screen shot 2018-08-28 at 12 55 01

same problem

It seems that they've fixed the problem already. For me it's working fine now.

Fixed for me too.

Was this page helpful?
0 / 5 - 0 ratings