Using G Suite Reseller API to create a new customer account ([/reseller/v1/customers][1]).
Most accounts work successfully, but every now and then I get the following error, and it seems to happen primarily for non-USA postal codes:
Error calling POST https://www.googleapis.com/apps/reseller/v1/customers: (400) resource.postalAddress - Invalid Postal code. Please enter the correct Postal code.
I've double checked the same formatting for these postal codes using the google maps API and they check out as valid. And per the Reseller API, the postal code is a required string with no specific formatting nor size required. So I'm curious, why do I get this error sometimes?
Here are examples of valid postal codes that failed:
v3t-4sg
00229
CR0 0BW