Skip to content

[UX2.0][20.15] sdwan_transport_wan_vpn_interface_ethernet_feature fails with Invalid Json Payload #426

@tzarski0

Description

@tzarski0

When you configure sdwan_transport_wan_vpn_interface_ethernet_feature with nat_loopback parameter, in 20.12 it works, but in 20.15 it fails with:

│ Error: Client Error
│ 
│   with module.sdwan.sdwan_transport_wan_vpn_interface_ethernet_feature.transport_wan_vpn_interface_ethernet_feature["transport2-wan_vpn-inet_tloc_with_nat_loopback"],
│   on ../terraform-sdwan-nac-sdwan/sdwan_features_transport.tf line 322, in resource "sdwan_transport_wan_vpn_interface_ethernet_feature" "transport_wan_vpn_interface_ethernet_feature":
│  322: resource "sdwan_transport_wan_vpn_interface_ethernet_feature" "transport_wan_vpn_interface_ethernet_feature" {
│ 
│ Failed to configure object (PUT), got error: HTTP Request failed: StatusCode 400,
│ {"error":{"message":"Invalid Json Payload
│ Input","code":"SCHVALID0001","details":"{\"Validation Errors\":{\"Not Defined In Schema
│ Attributes\":[\"data.natAttributesIpv4.natLookback\"]}}","type":"error"}}

This is because the 20.12 parameter "data.natAttributesIpv4.natLookback" was renamed in 20.14 to "data.natAttributesIpv4.natLoopback".

The following API changes were done in 20.14:

  • sdwan/service/lan/vpn/interface/ethernet: natLookback -> natLoopback
  • sdwan/service/lan/vpn: TranslatedSourceIp -> translatedSourceIp
  • sdwan/service/lan/vpn: TranslatedSourceIpSubnet -> translatedSourceIpSubnet
  • sdwan/transport/wan/vpn/interface/ethernet: natLookback -> natLoopback

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions