validate-vat icon indicating copy to clipboard operation
validate-vat copied to clipboard

Error: Failed to parseField countryCode

Open R-D-P opened this issue 3 years ago • 8 comments

Getting this error in the response. There is also a soap message "soapMessage: '<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">soap:Bodysoap:Faultsoap:ServerThe given SOAPAction urn:ec.europa.eu:taxud:vies:services:checkVat/checkVat does not match an operation.</soap:Fault></soap:Body></soap:Envelope>'"

R-D-P avatar Nov 13 '21 04:11 R-D-P

I am using version "validate-vat": "^0.8.0"

R-D-P avatar Nov 13 '21 04:11 R-D-P

Are you sure, that you updated the package after changing the version to 0.8.0? I've gotten the same error recently and manually updated to 0.8 and it's working fine now. It got fixed in the .7 update.

After changing the package.json to the correct version, run npm i validate-vat -s again

Retosi avatar Nov 17 '21 12:11 Retosi

Any fixes for this? Getting the same error after upgrading to 0.8.0

herkyl avatar Jul 16 '22 11:07 herkyl

Any fix for this issue, still getting it with version 0.8.0.

callezenwaka avatar Sep 19 '22 16:09 callezenwaka

I have gotten the issue again later on with 0.8.0, we were able to upgrade to the typescript version of validate-vat (validate-vat-ts). So if you are using it in a Typescript project, I'd recommend changing. We did not experience any issues since

Retosi avatar Sep 20 '22 12:09 Retosi

Thanks @Retosi for the suggestion, unfortunately, we are not using typescript.

callezenwaka avatar Sep 20 '22 16:09 callezenwaka

try 0.9.0

thebillg avatar Sep 28 '22 05:09 thebillg

Thanks @thebillg, we have bumped it up to 0.9.0. Working perfectly now.

callezenwaka avatar Sep 28 '22 14:09 callezenwaka