5
Views
2
Comments
[International Phone Input]  InternationalPhoneInput - Error "No country data for '91'"
International Phone Input
Forge asset by Product League

Hi Community,

I am using the InternationalPhoneInput forge component in my ODC project, and I am facing an issue when selecting a country code.

Whenever I select a country (for example, India +91 or Albania +355), the console shows the following error:

kotlinCopyEditOS-CLRT-00000 - No country data for '91'OS-CLRT-00000 - No country data for '355'

After this error occurs, the application URL breaks and shows the "There was an error processing your request" screen.

Steps to Reproduce:

  1. Add the InternationalPhoneInput component to a  screen.

  2. Load the application and open the country code dropdown.

  3. Select any country (e.g., India +91 or Albania +355).

  4. Observe the browser console and application behavior.

Observed Result:

  • The console shows the error message mentioned above.

  • The page breaks and redirects to an error page.

Expected Result:

  • The selected country code should be applied without any errors, and the page should continue to function normally.


Can someone please help me understand why this error occurs and how to fix it?

Thanks in advance

2025-08-07 06-30-56
Amit J
Champion

In your ODC project using InternationalPhoneInput usually means the component’s internal country metadata (countryData JSON) is either:

  1. Not being loaded at all (missing file import).

  2. Out of sync with the format the library expects.

  3. Overridden incorrectly by your own initialization code.

Please do the debug and check what event is executing and where it is redirecting to. I guess it will help to identify that where it is breaking,  or you can share the sample app.



2024-02-08 05-52-50
Himanshu dwivedi

Thanks for the suggestions amit.
I verified that the countryData JSON file is present and loads correctly. There is no custom initialization overriding it. The error still occurs when selecting certain country codes (e.g., 355, 91), and it happens immediately after the selection, before any redirect or other logic runs.
Due to project constraints, I can’t share the OML, but I can provide screenshots or console logs if that helps. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.