-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The request body must contain the following parameter: 'grant_type' #232
Comments
the BODY part looks empty ? |
I am fighting with the very same problem. Did you find a solution for this? resource "restapi_object" "get_token" { Error: unexpected response code '400': { |
Hello, Have you found a solution? |
@gabrielalibudzka Its been quite sometime i worked on this. Not sure if the latest version solved this issue. |
unexpected response code '400': {"error":"invalid_request","error_description":"AADSTS900144: The request body must contain the following parameter: 'grant_type'.
I am trying to create Bearer token for a Azure service principal.
Provider.tf contains
resource.tf contains
My data has grant_type set and still i am getting 400
Am i missing something or doing this wrong!
The text was updated successfully, but these errors were encountered: