Unable to upload APKs using LambdaTest APIs

Hey folks, We have been running into issues while uploading APKs using the API /app/upload/realDevice but we run into 401 Request Entity Too Large.

Here is the curl request if you want to reproduce it:

<curl> \
-X \
POST \
"https://mobile-api.lambdatest.com/mobile-automation/api/v1/app/upload/realDevice" \
-H "accept: application/json" \
-H "Authorization: Basic <basic-auth-creds>" \
-H "Content-Type: multipart/form-data" \
-F "name=<some-apk>" \
-F "appFile=@<path-to-some-apk>;type=application/vnd.android.package-archive" \
-F "visibility=individual" \
-v

Hello Tapan,Thank you for reaching out to us. You can use the following curl command to upload the APK file:

curl -u "username:accesskey" -X POST "https://manual-
api.lambdatest.com/app/upload/realDevice" -F "appFile=@"C:\Users\aayushis\Downloads\proverbial_android_expressotest.apk"" -F "name=appname""

Additionally, you can refer to the below documentation:

[LambdaTest API Documentation | LambdaTest]