Activity Forums Salesforce® Discussions How to resolve "Invalid api version:0.0" Error in Salesforce Apex Batch Class?

  • shradha jain

    Member
    August 31, 2018 at 4:35 am

    Hello Chanchal,

    You can follow these steps to resolve this error:

    • select all
    • copy
    • close file (yes to close without saving)
    • open file again
    • paste and save.

    Thanks.

  • madhulika shah

    Member
    September 19, 2018 at 1:15 pm

    hi,

    1. Copy your Class code to notepad
    2.  Switch to a new workspace (if you only have the default, create another one)
    3. Switch Back to the workspece you were working on
    4. Copy your notepad saved code to the class
    5. Try to save your code again

    Thanks.

  • Ayush

    Member
    May 8, 2020 at 1:18 pm

    follow these steps
    select all
    copy
    close file (yes to close without saving)
    open file again
    paste and save.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos