2

When executing the following query I get the error message

"Object type 'SandboxInfo' is not supported":

/services/data/v38.0/tooling/query/?q=SELECT+Id+FROM+SandboxInfo

The current user is "Administrator" with "View All Data" activated and the current Org type is "Sandbox". Any solutions?

  • 1
    Can you run the same in PROD org ? I fear you won't get any result in sandbox org . – Mohith Shrivastava Dec 29 '16 at 10:17
  • 1
    @MohithShrivastava you are right, please post this as the answer so I can accept it. – Vitaly Zdanevich Dec 29 '16 at 12:43
4

The API is applicable only for PROD instance from where different sandboxes are spun.Hence it won't return any result for sandbox

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.