function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mangesh Honale 1Mangesh Honale 1 

SOQL query suddenly stopped working

I am executing following soql query on SOAP API "SELECT NamespacePrefix FROM PackageLicense WHERE NamespacePrefix = 'scyc' LIMIT 1". But it returns "sObject type 'PackageLicense' is not supported." as error message. It was working just fine few days before. I don't understand what has changed? I have tried API v22 to API v39 but nothing worked. Please advise.
SijuSiju
How are you executing this . is it in developer console? If yes then  "Use Tooling API" checkbox  - UnChecked
Mangesh Honale 1Mangesh Honale 1
I am using SOAP API not developer console.