Skip to main content Take our 5-minute Community Survey. Open now through 4/11/2025. Click here to participate.

I am attempting to follow the steps here: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/openapi_beta.htm

 

And am using the URL as defined in Step 1 with Postman variables matching other endpoints in the Salesforce Collection: {{_endpoint}}/services/data/v{{version}}/async/specifications/oas3

 

And am using the request Body:

{

"resources" : ["*"]

}

The response body tells me that there is an error in the request body"

[

{

"message": "Malformed request body, unable to identify 'resources' field",

"errorCode": "REQUIRED_FIELD_MISSING",

"fields": [

"resources"

]

}

]

 

Any suggestions? 

2 answers
  1. Dec 19, 2023, 6:07 PM

    @Kris Harrison Thanks, that showed the problem - in Postman, "Content-Type" Header for the request was set to "application/x-www-form-urlencoded", and that produced this error.  I've changed it to "text/plain", and got a proper response. 

Loading
0/9000