#Shyam

1 messages · Page 1 of 1 (latest)

fierce patioBOT
subtle lantern
#

Hi there 👋 are those errors being thrown by your app while it is trying to start?

mystic bobcat
#

Yes

subtle lantern
#

Do you know what your app is doing when it hits that error?

mystic bobcat
#

just loading screen..it does not have any api call

#

but while running app on localy it is working fine

subtle lantern
#

Hm, are you able to add additional logging to your app to try to narrow down exactly what line is executing when that error is thrown?

mystic bobcat
#

no..

#

After Uploading ,Does app allow local host url for calling api?

subtle lantern
#

Can you elaborate? Is there a request in your app that is hitting that is trying to make a request by referencing localhost?

mystic bobcat
#

Yes...i am trying test the app by running API on my local by localhost....but while loading app i am not calling any api.

subtle lantern
#

You can't reference localhost when your app is not running locally, it'll reference the local system of wherever the app is running.

mystic bobcat
#

ok..but i have tried with hosted API services as well..getting same error

subtle lantern
#

You should add logging to your app so you can better track the errors that it is throwing. What happens when your app tries to hit one of those other APIs?

mystic bobcat
#

Api are working fine while running app on local ...by the command stripe apps start

#

but after uploading app it giving attached error ...please suggest any work around on it

subtle lantern
#

I can't suggest a workaround without knowing what is happening. Why is your app erroring, what problem is it running into?

mystic bobcat
#

I am not sure ...but while running on local it is working...