04-21-2022 06:55 AM
Hi,
I'm trying to load this json file which contains the colon character in its name: file_name.2022-03-05_11:30:00.json but I get the error in screenshot below saying that there is a relative path in an absolute url -
Any idea how to read this file?
file_name = file_name.2022-03-05_11:30:00.json
Thanks for your help in advance!
04-26-2022 01:21 PM
Hi @Laura Blancarte , I apologize for the late response... Try replacing the colons in the file name with %3A. This will work by replacing the colons with URL encoded format.
04-21-2022 07:54 AM
Hi @Laura Blancarte . Have you tried saving the file path to a list?
04-21-2022 08:31 AM
Hi @Pearl Ubaru ,
Thanks for your reply.
Yes, I have a list of path files through which I loop and try to load the file at the current index but I get the same error about there being a relative path. Am I missing something?
Ty!
04-21-2022 09:00 AM
Is it okay if I see a bit more of your code? Preferably the list and loop?
04-21-2022 09:37 AM
04-26-2022 01:21 PM
Hi @Laura Blancarte , I apologize for the late response... Try replacing the colons in the file name with %3A. This will work by replacing the colons with URL encoded format.
05-11-2022 05:06 AM
Hi @Laura Blancarte , Just a friendly follow-up. Do you still need help, or @Pearl Ubaru 's response help you to find the solution? Please let us know.
08-01-2022 09:50 PM
Hi @Laura Blancarte I hope that @Pearl Ubaru's answer would have helped you in resolving your issue.Please let us know if you need more help on this.
Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections.
Click here to register and join today!
Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.