Skip to main content
Sam K a posé une question dans #Integration

When I try to create a record by sending a request, I get an error:

{

        "errorCode": "NOT_FOUND",

        "message": "The requested resource does not exist"

    }

 

Here's an example of the request I am making: 

url: https://myDomain.my.salesforce.com/services/data/v60.0/sobjects/Account

method: POST

authentication header: Bearer <token>

 

I am using JWT Bearer flow.

 

If I make a GET request to: https://myDomain.my.salesforce.com/services/data/v60.0/sobjects/

I get a response. But, if I make a GET request to https://myDomain.my.salesforce.com/services/data/v60.0/sobjects/Account

I get the same "he requested resource does not exist" response.

 

Not sure if that's related

 

#Integration  #RestAPI  #Error Message  #Salesforce

2 réponses
  1. 27 août 2025, 15:40

    It can be a permissions trouble.  

     

    Make sure you have created a Permission Set with the System Permission: API enabled and Api Only User enabled.  

     

    In addition, make sure the user that is connected has all permissions to the objects you are trying to access to.  

     

    Best regards!

0/9000