I am trying to upload the app for testing from a remote URL but getting the following error:

I am trying to upload the app for testing from a remote url but getting the following error:

API: curl --location --request POST 'https://manual-api.lambdatest.com/app/upload/realDevice' \
--header 'Authorization: Basic authkey' \
--form 'url="public_url"' \
--form 'custom_id="android"'

Error: {
"status": "upload failed",
"message": "name field is missing in request body"
}

Hi Jacqueline

The name field is mandatory when you upload the app through the public URL, The correct curl command will have the name as a part of the form data for example:

curl --location --request POST 'https://manual-api.lambdatest.com/app/upload/realDevice' \
--header 'Authorization: Basic <<authkey>>' \
--form 'name="<<Name_of_app>>"' \
--form 'url="<<public_url>>"' \
--form 'custom_id="android"'