Issue in running the api

unable to run the API when ran the API through the robocorp automation studio in code UI and also imported the library as well but when try to run the code shows an error