Hi everyone,
I’m experiencing an issue when trying to retrieve data from the Cádiz transport API.
When I use the following API URL for line 49:
http://api.ctan.es/v1/Consorcios/2/horarios_lineas?dia=&frecuencia=&lang=ES&linea=49&mes=
I get an error using the blocks shown in this image:
However, when I use the same structure with a different line (line 36), like this:
http://api.ctan.es/v1/Consorcios/2/horarios_lineas?dia=&frecuencia=&lang=ES&linea=36&mes=
It works perfectly, even though both lines use the exact same block setup and API format.
I have ckeck with other lines and the code working, but only with line 49, doesnt work
I’ve tested with other lines as well, and the code works fine in those cases. The problem seems to happen only with line 49.
I don’t understand why the same code and structure work for some lines but not for line 49. Could anyone help me figure this out?
Thank you!