Created
July 20, 2022 20:25
-
-
Save emanor-okta/c754b2ac4ace42e1f234b97b46e57344 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2022-07-20T12:39:02.697-0700 [INFO] Starting apply for okta_policy_rule_profile_enrollment.terraform_rule | |
2022-07-20T12:39:02.697-0700 [DEBUG] okta_policy_rule_profile_enrollment.terraform_rule: applying the planned Update change | |
2022-07-20T12:39:02.698-0700 [DEBUG] provider.terraform-provider-okta_v3.31.0: 2022/07/20 12:39:02 [DEBUG] performing request: method=PUT url=https://fake.oktapreview.com/api/v1/policies/rst44fglytHV52wMY1d7/rules/rul44fglyu6oQKQGB1d7 | |
2022-07-20T12:39:02.699-0700 [INFO] provider.terraform-provider-okta_v3.31.0: 2022/07/20 12:39:02 [DEBUG] Okta API Request Details: | |
---[ REQUEST ]--------------------------------------- | |
PUT /api/v1/policies/rst44fglytHV52wMY1d7/rules/rul44fglyu6oQKQGB1d7 HTTP/1.1 | |
Host: fake.oktapreview.com | |
User-Agent: okta-sdk-golang/2.13.1 golang/go1.17.11 darwin/amd64 okta-terraform/3.31.0 | |
Content-Length: 516 | |
Accept: application/json | |
Authorization: SSWS 00...fake | |
Content-Type: application/json | |
Accept-Encoding: gzip | |
{ | |
"id": "rul44fglyu6oQKQGB1d7", | |
"type": "PROFILE_ENROLLMENT", | |
"name": "Catch-all Rule", | |
"status": "ACTIVE", | |
"priority": 99, | |
"system": true, | |
"conditions": null, | |
"actions": { | |
"profileEnrollment": { | |
"access": "ALLOW", | |
"activationRequirements": { | |
"emailVerification": false | |
}, | |
"profileAttributes": [ | |
{ | |
"label": "Primary Email", | |
"name": "email", | |
"required": true | |
}, | |
{ | |
"label": "First Name", | |
"name": "firstName", | |
"required": true | |
}, | |
{ | |
"label": "Last Name", | |
"name": "lastName", | |
"required": true | |
} | |
], | |
"targetGroupIds": [ | |
"00g44ff30jYaJcvFx1d7" | |
], | |
"unknownUserAction": "REGISTER" | |
} | |
} | |
} | |
-----------------------------------------------------: timestamp=2022-07-20T12:39:02.699-0700 | |
2022-07-20T12:39:02.829-0700 [INFO] provider.terraform-provider-okta_v3.31.0: 2022/07/20 12:39:02 [DEBUG] Okta API Response Details: | |
---[ RESPONSE ]-------------------------------------- | |
HTTP/2.0 400 Bad Request | |
Connection: close | |
Cache-Control: no-cache, no-store | |
Content-Security-Policy: frame-ancestors 'self' | |
Content-Security-Policy-Report-Only: default-src 'self' fake.oktapreview.com *.oktacdn.com; connect-src 'self' fake.oktapreview.com fake-admin.oktapreview.com *.oktacdn.com *.mixpanel.com *.mapbox.com app.pendo.io data.pendo.io pendo-static-5634101834153984.storage.googleapis.com fake.kerberos.oktapreview.com *.authenticatorlocalprod.com:8769 http://localhost:8769 http://127.0.0.1:8769 *.authenticatorlocalprod.com:65111 http://localhost:65111 http://127.0.0.1:65111 *.authenticatorlocalprod.com:65121 http://localhost:65121 http://127.0.0.1:65121 *.authenticatorlocalprod.com:65131 http://localhost:65131 http://127.0.0.1:65131 *.authenticatorlocalprod.com:65141 http://localhost:65141 http://127.0.0.1:65141 *.authenticatorlocalprod.com:65151 http://localhost:65151 http://127.0.0.1:65151 https://oinmanager.okta.com data:; script-src 'unsafe-inline' 'unsafe-eval' 'self' fake.oktapreview.com *.oktacdn.com; style-src 'unsafe-inline' 'self' fake.oktapreview.com *.oktacdn.com app.pendo.io cdn.pendo.io pendo-static-5634101834153984.storage.googleapis.com; frame-src 'self' fake.oktapreview.com fake-admin.oktapreview.com login.okta.com com-okta-authenticator:; img-src 'self' fake.oktapreview.com *.oktacdn.com *.tiles.mapbox.com *.mapbox.com app.pendo.io data.pendo.io cdn.pendo.io pendo-static-5634101834153984.storage.googleapis.com data: blob:; font-src 'self' fake.oktapreview.com data: *.oktacdn.com fonts.gstatic.com; frame-ancestors 'self'; report-uri https://okta.report-uri.com/r/d/csp/reportOnly; report-to csp | |
Content-Type: application/json | |
Date: Wed, 20 Jul 2022 19:39:02 GMT | |
Expect-Ct: report-uri="https://oktaexpectct.report-uri.com/r/t/ct/reportOnly", max-age=0 | |
Expires: 0 | |
P3p: CP="HONK" | |
Pragma: no-cache | |
Public-Key-Pins-Report-Only: pin-sha256="jZomPEBSDXoipA9un78hKRIeN/+U4ZteRaiX8YpWfqc="; pin-sha256="axSbM6RQ+19oXxudaOTdwXJbSr6f7AahxbDHFy3p8s8="; pin-sha256="SE4qe2vdD9tAegPwO79rMnZyhHvqj3i5g1c2HkyGUNE="; pin-sha256="ylP0lMLMvBaiHn0ihLxHjzvlPVQNoyQ+rMiaj0da/Pw="; max-age=60; report-uri="https://okta.report-uri.com/r/default/hpkp/reportOnly" | |
Server: nginx | |
Set-Cookie: sid=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/ | |
Set-Cookie: autolaunch_triggered=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/ | |
Set-Cookie: JSESSIONID=BFA559FE519DBA7230660F85EB1193AC; Path=/; Secure; HttpOnly | |
Strict-Transport-Security: max-age=315360000; includeSubDomains | |
X-Content-Type-Options: nosniff | |
X-Okta-Request-Id: YthZ1k2zLu8d4545kqw1bAAADwE | |
X-Rate-Limit-Limit: 600 | |
X-Rate-Limit-Remaining: 595 | |
X-Rate-Limit-Reset: 1658345988 | |
X-Xss-Protection: 0 | |
{ | |
"errorCode": "E0000001", | |
"errorSummary": "Api validation failed: actions.profileEnrollment.uiSchemaId", | |
"errorLink": "E0000001", | |
"errorId": "oaeTHdsRTXpRXW8JX2AA9rSww", | |
"errorCauses": [ | |
{ | |
"errorSummary": "actions.profileEnrollment.uiSchemaId: The rule could not be created or updated because the uiSchemaId field in the action contained an invalid value or was incorrectly formatted" | |
} | |
] | |
} | |
-----------------------------------------------------: timestamp=2022-07-20T12:39:02.828-0700 | |
╷ | |
│ Error: failed to update profile enrollment policy rule: the API returned an error: Api validation failed: actions.profileEnrollment.uiSchemaId. Causes: errorSummary: actions.profileEnrollment.uiSchemaId: The rule could not be created or updated because the uiSchemaId field in the action contained an invalid value or was incorrectly formatted | |
│ | |
│ with okta_policy_rule_profile_enrollment.terraform_rule, | |
│ on main.tf line 52, in resource "okta_policy_rule_profile_enrollment" "terraform_rule": | |
│ 52: resource "okta_policy_rule_profile_enrollment" "terraform_rule" { | |
│ | |
╵ | |
2022-07-20T12:39:02.881-0700 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing" | |
2022-07-20T12:39:02.883-0700 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/okta/okta/3.31.0/darwin_amd64/terraform-provider-okta_v3.31.0 pid=8371 | |
2022-07-20T12:39:02.883-0700 [DEBUG] provider: plugin exited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment