I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
The error message “Unusable Address” typically indicates a network issue on the client side rather than an issue with Square’s servers. It could be due to a temporary network glitch, DNS resolution issues, or a problem with your internet service provider.
If the issue persists, you might want to check your network settings, try a different network, or consult with your network administrator. Also, ensure that your application handles such network glitches gracefully, perhaps by implementing a retry mechanism for failed requests.
I tried the effort on the different PC and different networks. But the issue still occur.
Since the API access is done in google cloud side. So, it should not be network issue on my side.
Hi, Thank you for your reply.
I’m using Apps Script with Spreadsheet per clients request.
I created apps script to reproduce the issue.
Open Apps Script Editor and Run getItems function.
Since we have 18000 items, the api call was happen 180 times.
There were 0-3 times errors. The error was as the attached.
“Address unavailable: https://connect.squareup.com/v2/catalog/list?types=ITEM&cursor=CAASHAoUMTEyOTc1NDAyMDo3ODgzODIyMDQSBBABOGQ”
The error may be DNS error at server side, and this will not your side issue.
Since I can find the workaround by retrying the fetch API, you can close at the moment.