500 Unexpected error when trying to create cluster via admin api

I’m trying to programmatically create a new MongoDB Atlas cluster. However, when I make the API request to create the cluster, I’m getting an unexpected error with the following details:

error data response:

{
  detail: 'Unexpected error.',
  error: 500,
  errorCode: 'UNEXPECTED_ERROR',
  parameters: [],
  reason: 'Internal Server Error'
}

i suspect it has to do with the data I’m passing, i want to know if you can create M0 (free) clusters via the admin API.