serverless-google-cloudfunctions
serverless-google-cloudfunctions copied to clipboard
Error: Deployment failed: RESOURCE_ERROR - 400
Hello,
I'm getting this error when deploying my application:
Error: Deployment failed: RESOURCE_ERROR
{"ResourceType":"cloudfunctions.v1beta2.function","ResourceErrorCode":"400","ResourceErrorMessage":{"code":400,"message":"Default service account '[email protected]' doesn't exist. Please recreate this account (for example by disabling and enabling the Cloud Functions API), or specify a different account.","status":"FAILED_PRECONDITION","details":[],"statusMessage":"Bad Request","requestPath":"https://cloudfunctions.googleapis.com/v1beta2/projects/functions-265412/locations/us-central1/functions","httpMethod":"POST"}}
I don't understand the reason for the error, because on my G Cloud the Cloud Functions Api is active and my credential is allowed to access.
Did someone also receive this error and could help me solve it?
I found the solution. Check this thread
I had the same problem. Solved it by creating an app engine service in the gcp console.
I have the same problem. It already includes the runtime tag in the functions, I updated the serverless plugin version to "^ 2.4.2" but I can't execute it.
Error
serverless.yml
How do I solve it?