Skip to main content
Question

Issues building my first bot.

  • Dec 23, 2021 3:12 PM UTC
  • 10 replies
  • 112 views

Hello, I am doing my first bot following the videos in the learning path but I had an issue that I cannot figure out yet, when the open excel part comes I follow exactly what the video said but when I try to run the bot it shows an error saying that it cannot find "default" for the session name. I am not sure what I suppose to change somebody has an idea? Capture

10 replies

  • Author
  • Cadet | Tier 2
  • Dec 23, 2021 5:25 PM UTC

I changed it to Default, the name of the file, and name it again Default but line 8 did not work.

 

In the beginning, I had issues on that line too but I figured out that the create excel session was empty, and in the video, they do not say anything about that particular area so trying different things writing the name of the file worked, also trying to make line 8 work I typed "default" too and it works but the line 8 keeps showing the error and I cannot move forward on the creation of the bot

 

Capture1


Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+7
  • Most Valuable Pathfinder
  • Dec 23, 2021 5:46 PM UTC

Could you please check line 7 and above lines which are used Excel Session "Default" or other names?


  • Author
  • Cadet | Tier 2
  • Dec 24, 2021 5:02 AM UTC

Hello yes all of them has the same name but it did not come through


Forum|alt.badge.img+11
  • Most Valuable Pathfinder
  • Dec 24, 2021 5:21 AM UTC

Hi @Edgar Iroba​ ,

 

Can you change the Session value to something else than Default and try? Ex: ExcelSession


  • Author
  • Cadet | Tier 2
  • Dec 24, 2021 5:27 AM UTC

I did it and did not work either. I used the file name and nothing happened. In line 7 worked but line 8 show me the same error “session not found”


Forum|alt.badge.img+11
  • Most Valuable Pathfinder
  • Dec 24, 2021 5:27 AM UTC

Can you share the Code Screenshot of both the lines? Where we can see the Session value


Forum|alt.badge.img+11
  • Most Valuable Pathfinder
  • Dec 24, 2021 5:28 AM UTC

Hi @Edgar Iroba​ ,

 

Hope Step 7 & 8 you have given Excel Session as "Default" right? For all the excel session the value should be same.


  • Author
  • Cadet | Tier 2
  • Dec 24, 2021 7:32 AM UTC

Capture2


Ashwin A.K
Forum|alt.badge.img
  • Navigator | Tier 3
  • Dec 24, 2021 8:19 AM UTC

Hi @Edgar Iroba​ ,

 

Could you try declaring a Session Variable pass it into to Variable section under Session and tag that to each Excel Action?

Session 

You can also declare a String Variable, but that has to get passed into the Local Variable section.

 

image 

Kind Regards,

Ashwin A.K


  • Author
  • Cadet | Tier 2
  • Dec 25, 2021 1:56 AM UTC

Thanks @Ashwin A.K​ this worked.!! thank you my friend now I can continue the process and built my first bot