Cloud Functions troubleshooting

Prev Next

Available in Classic and VPC

This page lists problems you might run into when using Cloud Functions. Click on the error to see more details.

Troubleshoot creation and log issues

The following are examples of creation and log-related issues you might encounter:

Cannot check execution history
I cannot check the execution history in the Dashboard menu and the [Monitoring] tab in Action.

Cannot select subnet
I cannot select a subnet when creating an action.
There are created subnets, but I do not see any subnets on the list.

Troubleshoot call issues

The following are examples of call-related issues you might encounter:

"Request larger than allowed" error
The size of the requested body is less than 10 MB, but an error occurs when I call the API Gateway trigger.
When I call the API Gateway trigger, the following error message is displayed:

{
  "code": "<code>",
  "error": "Request larger than allowed: 2097152 > 1048576 bytes."
}

"ACTION_BODY_INVALID_TYPE" error
When I request Put Action API, the "ACTION_BODY_INVALID_TYPE" error occurs.
The following error message is displayed:

{
  "error": {
    "errorCode": "80305",
    "message": "ACTION_BODY_INVALID_TYPE",
    "details": "The requested body is in an invalid action format."
  }
}

"Not Found Exception" error
The "Not Found Exception" error occurs.
The following error message is displayed:

{       
    "error": {           
        "errorCode": "300",
        "message": "Not Found Exception",           
        "details": "URL not found."       
    }
}    

HTTP Status code other than 200 returned
An HTTP status code other than 200 is returned.

Troubleshoot execution issues

The following are examples of execution-related issues you might encounter:

Cron execution error
An action works in Cloud Functions but not in Cron.

Object Storage type trigger execution error
I set an upload event in an Object Storage type trigger, but the trigger does not work.

"cannot import name... " error
An error in the format of "cannot import name ..." occurs when running a Python action.

UnsupportedClassVersionError error
When I run the Java action, the "UnsupportedClassVersionError" error occurs.

Too many concurrent requests in flight()'response returned
As a result of action, a response like "Too many concurrent requests in flight()'" has returned.

Troubleshoot network issues

The following are examples of network issues you might encounter:

Time limits error
The "Time limits" error occurs.

VPC VM communication not available in VPC action
In a VPC action, the VPC VM communication is not available.

Learning resources

We offer various materials for you to explore. To learn more about Cloud Functions, check out these helpful links:

Note

If you're still having trouble finding what you need, click on the feedback icon and send us your thoughts and requests. We'll use your feedback to improve this guide.