Skip to content

[BUG] Value conversion error #523

@sebastianhockmann

Description

@sebastianhockmann

Is there an existing issue for this?

  • I have searched the existing issues

What version of the Terraform exporter are you using?

1.4.0

What version of the Terraform CLI/OpenTofu CLI are you using?

1.14.0

What type of issue are you facing

bug report

Describe the bug

Tried to import a SAP BTP Subaccount which was created by terraform before.
But i get errors shown below:

data.btp_subaccount.all: Reading...

│ Error: API Error Reading Resource Subaccount

│ with data.btp_subaccount.all,
│ on main.tf line 1, in data "btp_subaccount" "all":
│ 1: data "btp_subaccount" "all"{

│ received response with unexpected status [Status: 404; Correlation ID: d7a307f1-bf3b-3d3e-d6cc-83e79ce5ebb7]


│ Error: Value Conversion Error

│ with data.btp_subaccount.all,
│ on main.tf line 1, in data "btp_subaccount" "all":
│ 1: data "btp_subaccount" "all"{

│ An unexpected error was encountered while verifying an attribute value matched its expected type to prevent unexpected behavior or
│ panics. This is always an error in the provider. Please report the following to the provider developer:

│ Expected framework type from provider logic: types.MapType[types.SetType[basetypes.StringType]] / underlying type:
│ tftypes.Map[tftypes.Set[tftypes.String]]
│ Received framework type from provider logic: types.MapType[!!! MISSING TYPE !!!] / underlying type:
│ tftypes.Map[tftypes.DynamicPseudoType]
│ Path: labels

Expected Behavior

No response

Steps To Reproduce

No response

User's Role Collections

No response

Add screenshots to help explain your problem

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions