Getting error which connecting Machinelearningforkids with Thunkable

Hi All,

I have trained an image classification AI model (on two categories mobile phone and talcum powder) on https://machinelearningforkids.co.uk/
After training and testing the model, I copied it’s API into thunkable Web API component, here’s my code: Thunkable
But I am facing below error while testing the app:

Network request failed

PFA screenshot for reference.

Thanks & Regards,
Aditi

When I test it on my iPhone 13 Pro in Thunkable Live, it connects to the API and displays “powder”. Here’s the full JSON response:

Expand for JSON response

[{"id":"1e397a25-0d15-4c59-8c74-c3e213e790cc","imageurl":"https://machinelearningforkids.co.uk/api/scratch/b174f9b0-a16b-11ee-8914-6385702ee70ca7e0a511-38cc-430f-974a-dab370db41b7/images/api/classes/codingandmore/students/auth0|5fa296cc572db10075b687d0/projects/5cf72f20-a16b-11ee-8914-6385702ee70c/images/1e397a25-0d15-4c59-8c74-c3e213e790cc","label":"phone"},{"id":"6d40f6ea-0609-4e29-9d7b-afefdf288e51","imageurl":"https://machinelearningforkids.co.uk/api/scratch/b174f9b0-a16b-11ee-8914-6385702ee70ca7e0a511-38cc-430f-974a-dab370db41b7/images/api/classes/codingandmore/students/auth0|5fa296cc572db10075b687d0/projects/5cf72f20-a16b-11ee-8914-6385702ee70c/images/6d40f6ea-0609-4e29-9d7b-afefdf288e51","label":"phone"},{"id":"72ec3832-9d73-4d60-9a8b-d0034a565793","imageurl":"https://machinelearningforkids.co.uk/api/scratch/b174f9b0-a16b-11ee-8914-6385702ee70ca7e0a511-38cc-430f-974a-dab370db41b7/images/api/classes/codingandmore/students/auth0|5fa296cc572db10075b687d0/projects/5cf72f20-a16b-11ee-8914-6385702ee70c/images/72ec3832-9d73-4d60-9a8b-d0034a565793","label":"phone"},{"id":"8657c960-6080-4f80-9595-d5588a361013","imageurl":"https://machinelearningforkids.co.uk/api/scratch/b174f9b0-a16b-11ee-8914-6385702ee70ca7e0a511-38cc-430f-974a-dab370db41b7/images/api/classes/codingandmore/students/auth0|5fa296cc572db10075b687d0/projects/5cf72f20-a16b-11ee-8914-6385702ee70c/images/8657c960-6080-4f80-9595-d5588a361013","label":"phone"},{"id":"cd5ea61c-ef07-4bc9-81f5-8c32135a4a2c","imageurl":"https://machinelearningforkids.co.uk/api/scratch/b174f9b0-a16b-11ee-8914-6385702ee70ca7e0a511-38cc-430f-974a-dab370db41b7/images/api/classes/codingandmore/students/auth0|5fa296cc572db10075b687d0/projects/5cf72f20-a16b-11ee-8914-6385702ee70c/images/cd5ea61c-ef07-4bc9-81f5-8c32135a4a2c","label":"phone"},{"id":"d903e249-638b-4bc7-a4cd-b0cebcab2769","imageurl":"https://machinelearningforkids.co.uk/api/scratch/b174f9b0-a16b-11ee-8914-6385702ee70ca7e0a511-38cc-430f-974a-dab370db41b7/images/api/classes/codingandmore/students/auth0|5fa296cc572db10075b687d0/projects/5cf72f20-a16b-11ee-8914-6385702ee70c/images/d903e249-638b-4bc7-a4cd-b0cebcab2769","label":"phone"},{"id":"d9dae8cd-5e31-4fee-b8a9-84b7fd9e8e9b","imageurl":"https://machinelearningforkids.co.uk/api/scratch/b174f9b0-a16b-11ee-8914-6385702ee70ca7e0a511-38cc-430f-974a-dab370db41b7/images/api/classes/codingandmore/students/auth0|5fa296cc572db10075b687d0/projects/5cf72f20-a16b-11ee-8914-6385702ee70c/images/d9dae8cd-5e31-4fee-b8a9-84b7fd9e8e9b","label":"phone"},{"id":"f5364b38-c1bf-4bd0-b3bd-0a25bd3f6062","imageurl":"https://machinelearningforkids.co.uk/api/scratch/b174f9b0-a16b-11ee-8914-6385702ee70ca7e0a511-38cc-430f-974a-dab370db41b7/images/api/classes/codingandmore/students/auth0|5fa296cc572db10075b687d0/projects/5cf72f20-a16b-11ee-8914-6385702ee70c/images/f5364b38-c1bf-4bd0-b3bd-0a25bd3f6062","label":"phone"},{"id":"4d0d8137-9d20-446c-a98c-d558cfb12c41","imageurl":"https://machinelearningforkids.co.uk/api/scratch/b174f9b0-a16b-11ee-8914-6385702ee70ca7e0a511-38cc-430f-974a-dab370db41b7/images/api/classes/codingandmore/students/auth0|5fa296cc572db10075b687d0/projects/5cf72f20-a16b-11ee-8914-6385702ee70c/images/4d0d8137-9d20-446c-a98c-d558cfb12c41","label":"powder"},{"id":"5329cd28-6577-4edd-97f2-00177ba686f4","imageurl":"https://machinelearningforkids.co.uk/api/scratch/b174f9b0-a16b-11ee-8914-6385702ee70ca7e0a511-38cc-430f-974a-dab370db41b7/images/api/classes/codingandmore/students/auth0|5fa296cc572db10075b687d0/projects/5cf72f20-a16b-11ee-8914-6385702ee70c/images/5329cd28-6577-4edd-97f2-00177ba686f4","label":"powder"},{"id":"676d47bc-f8a5-40e4-82ef-d680e1b4e544","imageurl":"https://machinelearningforkids.co.uk/api/scratch/b174f9b0-a16b-11ee-8914-6385702ee70ca7e0a511-38cc-430f-974a-dab370db41b7/images/api/classes/codingandmore/students/auth0|5fa296cc572db10075b687d0/projects/5cf72f20-a16b-11ee-8914-6385702ee70c/images/676d47bc-f8a5-40e4-82ef-d680e1b4e544","label":"powder"},{"id":"713bf12c-387d-4827-bf1b-7aa169163245","imageurl":"https://machinelearningforkids.co.uk/api/scratch/b174f9b0-a16b-11ee-8914-6385702ee70ca7e0a511-38cc-430f-974a-dab370db41b7/images/api/classes/codingandmore/students/auth0|5fa296cc572db10075b687d0/projects/5cf72f20-a16b-11ee-8914-6385702ee70c/images/713bf12c-387d-4827-bf1b-7aa169163245","label":"powder"},{"id":"9df456e7-cb85-4fe5-b018-94ce4ad6bbae","imageurl":"https://machinelearningforkids.co.uk/api/scratch/b174f9b0-a16b-11ee-8914-6385702ee70ca7e0a511-38cc-430f-974a-dab370db41b7/images/api/classes/codingandmore/students/auth0|5fa296cc572db10075b687d0/projects/5cf72f20-a16b-11ee-8914-6385702ee70c/images/9df456e7-cb85-4fe5-b018-94ce4ad6bbae","label":"powder"},{"id":"ad66ea90-55c7-497a-86fa-6ff0866be44d","imageurl":"https://machinelearningforkids.co.uk/api/scratch/b174f9b0-a16b-11ee-8914-6385702ee70ca7e0a511-38cc-430f-974a-dab370db41b7/images/api/classes/codingandmore/students/auth0|5fa296cc572db10075b687d0/projects/5cf72f20-a16b-11ee-8914-6385702ee70c/images/ad66ea90-55c7-497a-86fa-6ff0866be44d","label":"powder"},{"id":"d8801515-5604-408a-8f46-309711fc5e8c","imageurl":"https://machinelearningforkids.co.uk/api/scratch/b174f9b0-a16b-11ee-8914-6385702ee70ca7e0a511-38cc-430f-974a-dab370db41b7/images/api/classes/codingandmore/students/auth0|5fa296cc572db10075b687d0/projects/5cf72f20-a16b-11ee-8914-6385702ee70c/images/d8801515-5604-408a-8f46-309711fc5e8c","label":"powder"},{"id":"facb26c3-a54b-410b-971b-a71fa3b7d67b","imageurl":"https://machinelearningforkids.co.uk/api/scratch/b174f9b0-a16b-11ee-8914-6385702ee70ca7e0a511-38cc-430f-974a-dab370db41b7/images/api/classes/codingandmore/students/auth0|5fa296cc572db10075b687d0/projects/5cf72f20-a16b-11ee-8914-6385702ee70c/images/facb26c3-a54b-410b-971b-a71fa3b7d67b","label":"powder"}]