Skip to main content Stream TDX Bengaluru on Salesforce+. Start learning the critical skills you need to build and deploy trusted autonomous agents with Agentforce. Register for free.

I created a custom field (formula) that cannot be found when using the API to fetch all sobjects. It is also not found when using the describe sobject API call:

 

 Salesforce API returned 400 level status code: [{'errorCode': 'NOT_FOUND', 'message': 'The requested resource does not exist'}]

3 answers
  1. Dec 21, 2023, 10:37 PM

    Thanks for your response. I had already checked the field-level security for this custom field and all the boxes are checked:

     

    Thanks for your response.

  2. Dec 21, 2023, 10:23 PM

    Hi @Christopher Henry ,

     

    You need to check if somehow you missed field level security Click on the field and check field level security.

     

    1. From Setup, open Object Manager, and then in the Quick Find box, enter the name of the object containing the field.
    2. Select the object, and then click Fields & Relationships.
    3. Select the field you want to modify.
    4. Click Set Field-Level Security.
    5. Specify the field's access level.
    6. Save your changes.

    https://help.salesforce.com/s/articleView?id=sf.users_fields_fls.htm&type=5

0/9000