Operation returned an invalid status code (...) "Unknown country"]}"} [Solution]

Modified on Mon, 30 Mar 2020 at 02:31 PM

When processing orders you might come across the "Operation returned an invalid status code 'InternalServerError'{"status":"error","error_code":"errors.unknown_country","error_message":"{\"errors\":[\"Unknown country USA\"]}"}" error.

This error is shown when the Country Code used in the order does not have a correct format.

Feel free to follow the step-by-step guide written below or the video guide, as you prefer:

To do so:

1. Find the order through any of the possible ways (after Import Orders, Batches, Order History, etc) as it applies to the case

2. Click the edit button of the order you wish to change

3. Change the Country Code accordingly

4. Press Save to apply the changes

If the rest of the information in the order is correct, you will be able to process it.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article