com.facebook.react.bridge.UnexpectedNativeTypeException: TypeError: expected dynamic type `string', but had type `int64'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by t-moe
, 1 year ago
TypeError: expected dynamic type `string', but had type `int64'
via GitHub by Jas0n-F
, 9 months ago
TypeError: expected dynamic type `string', but had type `int64'
via GitHub by AndrewJack
, 7 months ago
TypeError: expected dynamic type `string', but had type `object'
via GitHub by jarradh
, 7 months ago
TypeError: expected dynamic type `string', but had type `object'
com.facebook.react.bridge.UnexpectedNativeTypeException: TypeError: expected dynamic type `string', but had type `int64'
at com.facebook.react.bridge.ReadableNativeArray.getString(Native Method)
at com.facebook.react.modules.network.NetworkingModule.extractHeaders(NetworkingModule.java:535)
at com.facebook.react.modules.network.NetworkingModule.sendRequest(NetworkingModule.java:222)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:319)
at com.facebook.react.cxxbridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:158)
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:739)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
at android.os.Looper.loop(Looper.java:135)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.