You need to sign in to do that
Don't have an account?
Angelica Veness 12
Cat rescue app - apex class error - invalid api
I can't complete the 'Create a Lightning Component and Add It to a Lightning Page' step as I get an error message:
There seems to be something wrong with the 'EinsteinVision_Admin' Apex class.
In the Developer Console I can see an error message:
classes/EinsteinVision_Admin.cls - line 0 - Invalid api version:0.0
Any ideas?
There seems to be something wrong with the 'EinsteinVision_Admin' Apex class.
In the Developer Console I can see an error message:
classes/EinsteinVision_Admin.cls - line 0 - Invalid api version:0.0
Any ideas?
You can follow these steps to resolve this error:
1- select all
2- copy
3- close file (yes to close without saving)
4- open file again
5- paste and save
Another way you can try if not resolved:
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 workspace you were working on
4- Copy your notepad saved code to the class
5- Try to save your code again
OR
They suggest creating a new workspace and then switching to it by going to:
Workspace -> New Workspace
Switch Workspace -> Select New Workspace
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha