+ Start a Discussion
Seth BorgSeth Borg 


I'm trying to do a simple API call, I picked query but it says the SFO is not supported. I also tried SELECT name from Account. Is this a permissions issue with my connected app? I've included the policies I have setup below.

documentation: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_query.htm

GET: {{_endpoint}}/services/data/v{{version}}/query/?q=SELECT+Email+from+Contact+LIMIT+2

version is 51.0

this is the response I get:

        "message": "\nSELECT Email from Contact LIMIT 2\n                  ^\nERROR at Row:1:Column:19\nsObject type 'Contact' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.",
        "errorCode": "INVALID_TYPE"

connected app
Application Permissions: 
     Provide access to your data via the Web
     Access and manage your data
Vishwajeet kumarVishwajeet kumar
Verify user's profile (used to login) if it has permissions ( 'Read' OR 'View all' )  to "Contact" object.