# Appiumlibrary - Getting error platform name is missing in the capabilities

**URL:** <https://forum.robotframework.org/t/appiumlibrary-getting-error-platform-name-is-missing-in-the-capabilities/7974>\
**Category:** Appium\
**Created:** [20 October 2024 08:40 UTC](https://forum.robotframework.org/t/appiumlibrary-getting-error-platform-name-is-missing-in-the-capabilities/7974 "2024-10-20T08:40:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vmathur87](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/vmathur87/32/4090_2.png) [@vmathur87](https://forum.robotframework.org/u/vmathur87)\
**Post date:** [20 October 2024 08:40 UTC](https://forum.robotframework.org/t/appiumlibrary-getting-error-platform-name-is-missing-in-the-capabilities/7974/1 "2024-10-20T08:40:18Z")

</div>

I am using Appiumlibrary version 2.1.0 and robotframework version 7.0.1. I am getting the error even after explicitly passing the platform name.

```
***Settings***
Library AppiumLibrary

***Variables***

${REMOTE_URL} mobile-hub.lambdatest.com/wd/hub

***Keywords***

Open test app
    ${REMOTE_URL}= Set Variable https://${LT_USERNAME}:${LT_ACCESS_KEY}@${REMOTE_URL}

    Open Application	${REMOTE_URL} platformName=ios platformVersion=${platformVersion}

***Test Cases***

Open test app

```

`WebDriverException: Message: platform name is missing in the capabilities`

How to resolve this?

---

<div class="post-metadata">

**Author:** ![hassineabd](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/hassineabd/32/4266_2.png) [@hassineabd](https://forum.robotframework.org/u/hassineabd)\
**Post date:** [20 October 2024 08:47 UTC](https://forum.robotframework.org/t/appiumlibrary-getting-error-platform-name-is-missing-in-the-capabilities/7974/2 "2024-10-20T08:47:01Z")

</div>

hello i think it is a typo problem and platformName values are case sensitive  
try with iOS and Android

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [20 October 2024 10:12 UTC](https://forum.robotframework.org/t/appiumlibrary-getting-error-platform-name-is-missing-in-the-capabilities/7974/3 "2024-10-20T10:12:07Z")

</div>

Also, maybe you should be consistent with spacing, always four spaces. I see two spaces.
