Bulk export users API is failing and the response error is not helpful


I’m trying the following request:

POST {domain}/api/v2/jobs/users-exports

with the following payload:

{“connection_id”: {con_id}, “format”: “json”, “limit”: 5, “fields”: [{“name”: “email”}]}

and I’m getting the following response:

“statusCode”: 400,
“error”: “Bad Request”,
“message”: “Payload validation error: ‘{message}’.”,
“errorCode”: “invalid_body”

I’m also would like to know how can I make a specific query, I only want to export users that have a certain metadata property

best regards, Juan Pablo.

1 Like

I’m having the error with Postman, but with curl the request works