AnsweredAssumed Answered

Mass Update REST API Error "Missing Parameter: massupdate_params

Question asked by Saul Ayala on Feb 21, 2019
Latest reply on Feb 22, 2019 by Saul Ayala

Hi Everyone, I'm having struggles making a Mass Update DELETE request, I do the request using Node JS Request, but I got the error: Missing Parameter: massupdate_params.

 

This is the Response of the server:

 

 

 

I made a test through Postman and it works fine:

 

 

But when I do the call through Node i got this:

 

{
"statusCode": 422,
"body": "{\"error\":\"missing_parameter\",\"error_message\":\"Missing parameter: massupdate_params\"}",
"
"method": "DELETE",
"headers": {
"Content-Type": "application/json",
"body": {
"massupdate_params": {
"uid": [
"00d15650-354e-11e9-a3eb-02994e5d8eda",
"00cf5242-354e-11e9-8d95-06937d6972be",
"00c74ad4-354e-11e9-885d-02994e5d8eda",
"00c74502-354e-11e9-a778-02994e5d8eda",
"00b42daa-354e-11e9-8b0a-06937d6972be",
"00adc578-354e-11e9-8c50-026afe864162",
"00ac4158-354e-11e9-bb1c-06937d6972be",
"00a77dda-354e-11e9-8b6b-022cc35525d8",
}
},
"cache-control": "no-ache",
"Authorization": "Bearer {KEY}",
"content-length": 0
}
}
}

 

Any idea of why it seems the param is missing?

Outcomes