Skip to content

MONTH_YEAR field type has different format for Connect and SDK #311

@volodymyrZotov

Description

@volodymyrZotov

Your environment

Terraform Provider Version: 3.0.2

Authentication Method: all

Connect Server Version: 1.7.2

OS: Macos

Terraform Version: 1.14.0

What happened?

What did you expect to happen?

MONTH_YEAR field type has different format for Connect and SDK

  • SDK -> MM/YYYY
  • Connect -> YYYYMM or YYYY/MM

That leads to the issue when switching the auth method.

Steps to reproduce

  1. Create a field with type MONTH_YEAR and value 01/2025 using Connect API
  2. Observe error: "values for field type monthYear must be in YYYYMM or YYYY/MM format"
  3. Create the same field using Service Account SDK - it succeeds
  4. Reverse: use 202501 format - Connect succeeds, SDK may have issues

Notes & Logs

Metadata

Metadata

Assignees

Labels

bugSomething isn't working as expected. Has never worked before. When it has, use "regression" instead.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions