<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

Okta Access Gateway Error During File Upload and Download

Okta Classic Engine
Access Gateway
Okta Identity Engine

Overview

File upload and download failures occur within a protected application configured behind Okta Access Gateway (OAG) due to the HTTP request exceeding the allowed size. To resolve this issue, set the maximum file upload size to zero in the OAG settings. When this issue occurs, the following error appears in the browser console logs:

 

413 (request entity too large)



 

Applies To

  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • Okta Access Gateway (OAG)
  • Files

Cause

The HTTP request exceeds the application's configured size limit, resulting in a 413 error. OAG does not impose native restrictions on file size.

Solution

How is the maximum file upload size configured in Okta Access Gateway?

 

Modify the application settings in Okta Access Gateway to allow unlimited file upload sizes by navigating to the application settings and adjusting the maximum file upload size.

  1. Navigate to the OAG settings for the affected application.
  2. Set the maximum file upload size value to 0 to configure the upload size as unlimited.
  3. Test the file upload and download functionality to confirm the issue is resolved.
    maximum file upload size value  

Related References

Loading
Okta Access Gateway Error During File Upload and Download | Okta Support