I an trying to get all users via this call:
curl --request POST
–url ‘https://***-stage.auth0.com/api/v2/jobs/users-exports’
–header ‘authorization: Bearer <***ACCESS_TOKEN>’
–data ‘{“format”: “csv”, “fields”: [{“name”: “user_metadata”}, { “name”: “identities[0].connection”, “export_as”: “provider” }]}’
and I am getting this error:
{“statusCode”:400,“error”:“Bad Request”,“message”:“Bad HTTP authentication header format”,“errorCode”:“Bearer”}%
Is anything wrong with the curl command? (I’ve masked the url and access_token)
-Robert