You need to sign in to do that
Don't have an account?
Trailhead: Surface data from IBM Watson: Unexpected token error
I copied this code from the Trailhead page to create an Apex class:
![User-added image](/forums/servlet/rtaImage?eid=9060G0000005VN2&feoid=Body&refid=0EM0G0000003MQ8)
I get this error:
Error: Compile Error: Unexpected token 'list'. at line 2 column 15
Please help?
I get this error:
Error: Compile Error: Unexpected token 'list'. at line 2 column 15
Please help?
code provided om Trailhead is for Method. We need to add this code inside Class like below:
Hope this will work. Mark answer if helped.
Regards,
Ramakant
All Answers
code provided om Trailhead is for Method. We need to add this code inside Class like below:
Hope this will work. Mark answer if helped.
Regards,
Ramakant