API calls from CircuitPython and troubleshooting

A couple of years ago I made a little WebThings remote with a Raspberry Pi Zero W and some buttons to turn lights on and off. It still works great. Recently I picked up an AdaFruit MagTag (AdaFruit product ID: 4800). I ported the code to CircuitPython, but I only get a “Request Failed” response when attempting to connect to the gateway.

I’ve looked at the logs, but I have not found anything helpful in troubleshooting. Where would I look to find diagnostic data for this?

thanks.

Any help with diagnostics and troubleshooting is appreciated.

/var/log/syslog
and
/var/log/daemon.log

do not show ANY failed attempts from the device I’m testing and getting a “RuntimeError: Sending request failed” message on.

Thanks.