def validateApiRequest(api_returned_message) -> None:
  """
  Validates the API request and looks for an success message.

  If the message is not present the programm will print an error and exit.
  """

  if api_returned_message != "success":
    print("ERROR: API message was not success")
    exit(1)
  return None