Skip to content

List applications returns "failed to unmarshal ListApplications200ResponseInner as SamlApplication: no value given for required property allowMultipleAcsEndpoints" #594

Description

@TheCodeboy12

Describe the bug?

When using the method client.ApplicationAPI.ListApplications(ctx).Execute() It successfully lists 4 of my applications but then errors our because an unmarshlling error "failed to unmarshal ListApplications200ResponseInner as SamlApplication: no value given for required property allowMultipleAcsEndpoints"

What is expected to happen?

To get a list of the applications in my Okta tenant

What is the actual behavior?

Debugging shows 4 of my apps in the array, and an error

Reproduction Steps?

Run this code snipped:

config, err := okta.NewConfiguration(
		okta.WithOrgUrl(os.Getenv("OKTA_ORG_URL")),
		okta.WithAuthorizationMode("PrivateKey"),
		okta.WithClientId(os.Getenv("OKTA_CLIENT_ID")),
		okta.WithPrivateKey(os.Getenv("OKTA_PRIVATE_KEY")),
		okta.WithPrivateKeyId(os.Getenv("OKTA_PRIVATE_KEY_ID")),
		okta.WithScopes([]string{"okta.apps.read"}),
	)
	if err != nil {
		log.Fatalf("failed to create okta configuration: %v", err)
	}

	client := okta.NewAPIClient(config)

	fmt.Println("Okta client initialized")
	_ = context.Background()
	ctx := context.Background()
	apps, resps, err := client.ApplicationAPI.ListApplications(ctx).Execute()

Additional Information?

No response

Golang Version

go version go1.26.4 darwin/arm64

SDK Version

v6.1.6

OS version

Darwin Kernel Version 25.5.0: Mon Apr 27 20:41:26 PDT 2026; root:xnu-12377.121.6~2/RELEASE_ARM64_T8132 arm64

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions