Not able to create certificate authority and getting "400 - bad parameter" with Error Message:-Unable to process JSON input
(Doc ID 2854208.1)
Last updated on NOVEMBER 08, 2023
Applies to:
OCI Certificates - Version N/A and laterInformation in this document applies to any platform.
Symptoms
- You are trying to create a certificate following public documentation https://docs.oracle.com/en-us/iaas/Content/certificates/managing-certificates.htm
- Not able to create a certificate authority using terraform and it throws "400 - bad parameter"
- You are not able to backtrace via OPC Request ID to find the bad parameter.
Error and Request ID :
Error: 400-InvalidParameter
│ Provider version: 4.66.0, released on 2022-03-02.
│ Service: Certificates Management Certificate Authority
│ Error Message: Unable to process JSON input
│ OPC request ID:<opc request id>
│ Suggestion: Please Update the parameter(s) in the Terraform config as per error message Unable to process JSON input
│
│
│ with module.certificates.oci_certificates_management_certificate_authority.test_certificate_authority,
│ on .terraform/modules/certificates/ca.tf line 1, in resource "oci_certificates_management_certificate_authority" "test_certificate_authority":
│ 1: resource "oci_certificates_management_certificate_authority" "test_certificate_authority" {
│
│ Provider version: 4.66.0, released on 2022-03-02.
│ Service: Certificates Management Certificate Authority
│ Error Message: Unable to process JSON input
│ OPC request ID:<opc request id>
│ Suggestion: Please Update the parameter(s) in the Terraform config as per error message Unable to process JSON input
│
│
│ with module.certificates.oci_certificates_management_certificate_authority.test_certificate_authority,
│ on .terraform/modules/certificates/ca.tf line 1, in resource "oci_certificates_management_certificate_authority" "test_certificate_authority":
│ 1: resource "oci_certificates_management_certificate_authority" "test_certificate_authority" {
│
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |