API Connector is failing to GET .json from URL

Can some please help fetching the JSON from this URL: https://www.canada.ca/content/dam/ircc/documents/json/data-country-name-en.json

I am getting this error:
SCR-20230210-ry0

You should start fro.m scratch. Can you share your API connector settings?

Hi there,

Thank you for taking a look at this. I have added another API Call, same result. Here is the screenshot of the configurations:

Can you please try and see if this works for your? I hope I can find the issue here.

I did a few test and seem to be a Bug on Bubble side. You should submit a ticket.
Another thing you can try is to save the json file and upload it to Bubble storage than call the API using the uploaded file url. It may work

1 Like

Thanks dude. I appreciate your response!
I uploaded the JSON file on AWS S3 (Bubble) and now the API call works:
https://s3.amazonaws.com/appforest_uf/f1676666084626x767078927271633400/data-country-name-en.json

Do you think it’s bug OR some sort of restrictions on original server?

I just submitted a bug report. Will post the outcome here.

Recently tried something similar to load a list of states. It worked and was very fast, going to keep using this technique.

1 Like