Error al iniciar una app

Buenas tardes.
He desarrolado una app que hacia tiempo no utilizaba y al volverla a cargar en el movil me aparece el siguiente mensaje nada mas cargarlo.
Accede a una BBDD remota a la que consulto mediante un php.

A que se puede deber este error?.

Gracias.

Please show your relevant blocks, links, urls, screens etc. Or share your aia project.

My guess is, you are using the web component to get some information from an URL? The result returned is not what you expect... see the error message "301 Moved permanently", which means, the URL you are trying to access is not correct anymore...

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

Thank you.
Yes here mains block of the app.









inicio

you are using several web components
all of the URLs do not seems to be correct...


try to open the URL using a browser...

and before taking a screenshot, please switch the Language to English, so also people who do not speak Español can understand them... also it would help to only post the relevant blocks...

Taifun

Thank you. As English is quite rough, I use a translator. I have done the tests calling the URLs from mozilla and the result is correct. Attached the result:

https://URL/formulario/formulario_app/eventosapp.php

I don't quite understand what you are telling me about the relevant blocks. I think it is the blocks that I show the affected blocks.

Thanks for everything.

The result is:

Castilleja_de_Guzman-2022,Coripe_2022,Lora_del_Rio_2022,Mairena_del_Aljarafe_2022,El_Viso_del_Alcor_2022,

It's not about the language you are using here in the fourm, it is about the language used in AI2

image

image

For the correct URL see screenshot

Taifun

Thanks, if I have also executed the call to the url and it has given me the expected results.
So, where can the error be so that I get the message as soon as the app starts?

which error are you talking about?
use the correct URL and send the get request during Screen.Initialize

Taifun

Thank you very much for your help.
I think I have already discovered the error.
The link was fine, only that in the part where it says http:// it should have put https://

And now it works.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.