Discussions

Ask a Question
Back to All

Error with User Creation in API

I'm trying to create a new user and assign it a view via Users API and getting a 500 error back. Am I doing something wrong?

Calling a POST to https://app.cloudability.com/api/1/users/?auth_token=MYAPIKEY with this payload:

{
"user": {
"full_name": "USER FULL NAME",
"role": "User",
"email": "[email protected]",
"restricted": true,
"new_shared_dimension_filter_set_ids": [],
"default_dimension_filter_set_id": 12345,
"unshare_existing_dimension_filter_sets": true
}
}

It's returning this to me and I can't figure out what I'm doing wrong:
{"error":"An unexpected error occurred. Our technical team has been notified."}

Thanks