+ 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.