serverless/serverless-google-cloudfunctions

Function does not exist error

Open

#90 geöffnet am 8. Nov. 2017

Auf GitHub ansehen
 (4 Kommentare) (20 Reaktionen) (0 zugewiesene Personen)JavaScript (124 Forks)auto 404
bughelp wanted

Repository-Metriken

Stars
 (275 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Serverless deploy creates this error. It looks like something is wrong on the google side. This behavior is happening after I remove a function that used to be there, but the error names my current function.

For example I had two functions, FUNCTIONNAME1, FUNCTIONNAME2. Both of them are deployed. I remove FUNCTIONNAME1 and deploy again. I get this error:

Serverless: Checking deployment update progress... 
  Error --------------------------------------------------
  Deployment failed: RESOURCE_ERROR
     {"ResourceType":"cloudfunctions.v1beta2.function","ResourceErrorCode":"404","ResourceErrorMessage":{"code":404,"message":"Function FUNCTIONNAME2 in region us-central1 in project PROJECTNAME does not exist","status":"NOT_FOUND","details":[],"statusMessage":"Not Found","requestPath":"https://cloudfunctions.googleapis.com/v1beta2/projects/PROJECTNAME/locations/us-central1/functions/FUNCTIONNAME2","httpMethod":"GET"}}

Contributor Guide