<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

ASA Terraform on AWS Failing with "Failed to read project sate Status Code: 401" Error

Advanced Server Access
Okta Classic Engine
Okta Identity Engine

Overview

Creating an ASA project using Terraform shows the following error:


Error : [DEBUG] failed to read project state. Project : <project_name> Status Code : 401

 

 

Applies To

  • Advanced Server Access (ASA)
  • ASA with Terraform

Cause

ASA service user was not added to the admin group.

Solution

  1. In the ASA UI, navigate to Groups and create (if one does not already exist) a group with admin privileges.

Create Group

  1. Once the group is created, go to the Users tab for the group and add the service user account to it.
Users tab
 
Loading
Okta Support - ASA Terraform on AWS Failing with "Failed to read project sate Status Code: 401" Error