上传文件时nodejs app engine app错误413 Request Entity Too Large
nodejs app engine app error 413 Request Entity Too Large when upload a file
我有一个 nodejs api,我的一个端点允许用户上传文件(图像和 pdf),但有时 pdf 太大(50MB - 100MB),我得到 413 Request Entity Too Large上传文件时。我试图找到一个配置来增加我的应用程序引擎上文件的大小,但可以找到任何东西。关于如何解决此错误的任何建议。
在 Google App Engine 上,incoming payload can only be 32 MB max。它是不可配置的。
Incoming bandwidth
The amount of data received by the application from requests. Each incoming HTTP request can be no larger than 32MB.
This includes:
- data received by the application in secure requests and non-secure requests
- uploads to the Blobstore
- data received in response to HTTP requests by the URL fetch service
考虑让您的客户改为直接上传到云存储。
我有一个 nodejs api,我的一个端点允许用户上传文件(图像和 pdf),但有时 pdf 太大(50MB - 100MB),我得到 413 Request Entity Too Large上传文件时。我试图找到一个配置来增加我的应用程序引擎上文件的大小,但可以找到任何东西。关于如何解决此错误的任何建议。
在 Google App Engine 上,incoming payload can only be 32 MB max。它是不可配置的。
Incoming bandwidth
The amount of data received by the application from requests. Each incoming HTTP request can be no larger than 32MB.
This includes:
- data received by the application in secure requests and non-secure requests
- uploads to the Blobstore
- data received in response to HTTP requests by the URL fetch service
考虑让您的客户改为直接上传到云存储。