"parse content type: mime: invalid media parameter" error when using the provider #809
Open
4 tasks done
Labels
bug
Something isn't working
Readiness Checklist
Expected Behavior
Provider should return results when using data resources.
Current Behavior
When running
terraform apply
the provider errors out withFailed searching deployments version: parse content type: mime: invalid media parameter
. The first part of the error will change depending on the data resource in use but the rest is always the same. This has previously worked just fine, it wasn't until trying to perform a run that we discovered the error. Probably worth noting that our deployment is in AWS govcloud which requires using a differentendpoint
URL in the provider config.Initially I thought it was possible our API key rotated however after issuing a new one and verifying that a similar call using curl worked (curl -H "Authorization: ApiKey $EC_API_KEY" https://api.us-gov-east-1.aws.elastic-cloud.com/api/v1/deployments) I still wasn't able to get this to return anything via the provider. Here's the output of a plan.
## Terraform definition
Can't get much more basic
Steps to Reproduce
Context
This has stopped runs from working anywhere we use the provider. Maybe there's some subtle user error here but I think I've covered my bases at this point.
Your Environment
The text was updated successfully, but these errors were encountered: