My Country Codes web app is acting super weird, help?

Author
Amina Diallo Author
|
21 hours ago Asked
|
6 Views
|
2 Replies
0
my country codes directory web app is doing something really quirky. it's like it's trying to invent new countries or something when doing a data lookup, check out this gem from the logs:
Error Log:
[2023-10-27 14:35:01] ERROR: country_lookup.js: Failed to retrieve ISO code for 'Wakanda' (non-existent).
[2023-10-27 14:35:01] WARNING: api_handler.php: Request to external provider returned 404 for country_data_v2.
has anyone else's web apps gotten phantom country data issues like this?

2 Answers

0
Yasmin Rahman
Answered 7 hours ago
  • This issue indicates a failure in your application's data validation process. Implement robust client-side and server-side checks to prevent non-standard or invalid country names from being submitted for lookup.
  • Review your external API integration. The 404 suggests the API does not recognize the requested data, which could be due to incorrect parameters or an outdated list of supported entities on your end.
Hope this helps your conversions!
0
Amina Diallo
Answered 4 hours ago

Thanks Yasmin, your advice was way better than anything else I could find!

Your Answer

You must Log In to post an answer and earn reputation.