Firebase phone Auth Error

I am new here.
How to add google Phone auth.
SS have been attached.
(An error occurred: Sorry, you can’t embed media items in a post.)

When I add phone number and press “send otp” button, then auto open chrome and check robot or not. after that shows this message on the chrome browser.

Unable to process request due to missing initial state. This may happen if browser sessionStorage is inaccessible or accidentally cleared. Some specific scenarios are - 1) Using IDP-Initiated SAML SSO. 2) Using signInWithRedirect in a storage-partitioned browser environment.

SMS verification Failed component show error message:

An internal error has occurred [error code:39]

Post your blocks so we can know what you’ve tried so far

@Hemamali_Thusitha please share a screen recording and the screenshots of the error that will help better in understanding the error and getting a solution.

@Hemamali_Thusitha Are you adding the country code with the phone number?