The Solar_System API is not working anymore

The purpose of this exercise is to protect your API and make it more robust to users’ mistakes.


Expected result

Question 1

Look at the code provided. Find the problem which could be in Main.

Question 2

Correcting the problem is easy but we want to be sure that it will never happen again.