Error on [Return] Keyword

I am trying out this code on the Robocorp tool and i am getting this error on the return keyword

No keyword with name ‘[Return] sas!’ found.

*** Settings ***
Library RPA.Browser.Selenium
Library RPA.Excel.Files
Library RPA.HTTP
Library RPA.Tables

Trying out this code
*** Keywords ***
Get orders
Download overwrite=True
#${orders_read}= Read Table From Csv orders.csv
#[Return] ${orders_read}
[Return] sas!

Can some one please help me out how to resolve this?

This is most likely indentation error. Can you share screenshot of your code?

1 Like

…and check that you have 2+ spaces between [Return] and sas!


*** Keywords ***
Get orders
    Download    overwrite=True
    [Return]    sas!

Yes that worked thank you every one !!

1 Like