0

I'm relatively new to using unmanaged packages and have run into a (likely) simple issue. I'm currently attempting to execute some anonymous code against a package that I installed today, however I am getting hung up with the following error:

Error Message

The IDE appears to recognize the objects (in this case GraphQLNode) as Intellisense is working in both VSCode and in the SF Developer console. I get the same error in the Developer Console in SF. I can see that the classes exist in Salesforce as well.

Any thoughts as to what might be going on? I'm pretty sure I'm missing something super fundamental here.

Thanks for your help!

1
  • You appear to be missing a semicolon after new GraphQLNode('orders') (unless you are chaining additional methods like you would with a "fluent interface"). Errors returned by anonymous apex can be misleading.
    – Derek F
    Commented Sep 13, 2022 at 12:07

1 Answer 1

0

D'oh! I was missing a parentheses later in the statement. Sorry - disregard!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .