Skip to content

[BUG]Schema Resource throws error 500 #175

@vipinvkmenon

Description

@vipinvkmenon

Is there an existing issue for this?

  • I have searched the existing issues

What version of the Terraform provider are you using?

0.2.0-beta-1

What version of the Terraform CLI are you using?

1.11.2

What type of issue are you facing

bug report

Describe the bug

The schema resource throws the following error:
Image

This appears to be due to the payload passed. The error occurs when the boolean parameters are not defined.

As seen below, all the parameters passed are non-boolean. The error is thrown as expected.
Image

Now the payload is modified such that the boolean parameters are defined, as a result of which the request goes through.
Image

This is the behavior when any of the boolean parameters are undefined.

Image Image Image

Expected Behavior

The error propagated must be more specific and relevant to the incomplete configuration.

Additional context

Refer to the API defined here
Currently the provider must handle this by configuring these schema parameters as Required attributes.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdependenciesPull requests that update a dependency file

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions