I am using Appium Desktop app. After adding all the capabilities. When I Start session, I got an error "An unknown server-side error occurred while processing the command. Original error: You must include a platformName capability" Screenshot
5 Answers
Like Pankaj Mishra say, it is really. The APPIUM Desktop UI have some bugs and the only way to solve this problem it's typing the capibilities directly in the fields and never copy paste or edit like a JSON format.
Screenshot of the correct way to do the configuration

- 2,422
- 7
- 33
- 40

- 31
- 5
-
Copy & Pasted my json into the Desired Capabilities fields to get this to work. Looks exactly like my json, but it finally worked. Thanks! – FinHead May 12 '20 at 12:51
APPIUM Desktop UI have some bugs as a result you get this error even if the capabilties are present. You can refer Here to avoid above issue.

- 2,555
- 2
- 17
- 31
Based on your screenshot, you made a spelling mistake:
flatformName: android
flatformVersion: 8.1
You need to fix f
to p
and it will work perfectly for you!

- 3,498
- 1
- 14
- 22
Make sure you enter "platformName". Not "platformName ". Can you see the difference? Second one has a hidden space which could often happen when you copy-past the capability name.

- 11
- 1
-
What is the difference between "platformName" and "platformName "? The blank? And more important, what is the new insight your answer contributes, in comparison to existing answers who also point out spelling mistakes (just much more convincingly), like https://stackoverflow.com/a/55399941/7733418 – Yunnosch Feb 24 '22 at 18:22
-
As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Feb 25 '22 at 17:42
make you've write correct words "platformName:" and check your json representation.

- 41
- 7
-
This is a duplicate of an of existing answer, by @kivindra de silva. When answering older questions that already have answers, please make sure you provide either a novel solution or a significantly better explanation than existing answers. Remember to review all existing answers first. – tjheslin1 Apr 20 '22 at 17:15