Hello everyone,
I am getting the following error when trying to use the catalog.batch_upsert function of the Square SDK. This started happening after connecting my application to my client’s production store two days ago. All other interactions with the Square SDK have continued to work as expected, so I suspect this may be a problem with this specific endpoint. Given that the response is completely lacking any meaningful feedback as to what went wrong, I am unsure if this is being caused by an error on my end or if it is an issue on Square’s side. Are there any known disruptions that could cause this?
square.core.api_error.ApiError: headers: {‘date’: ‘Wed, 20 May 2026 13:58:25 GMT’, ‘content-type’: ‘application/json’, ‘content-length’: ‘158’, ‘connection’: ‘keep-alive’, ‘cf-ray’: ‘9febdb267bdab755-MIA’, ‘cf-cache-status’: ‘DYNAMIC’, ‘content-encoding’: ‘gzip’, ‘server’: ‘cloudflare’, ‘strict-transport-security’: ‘max-age=631152000; includeSubDomains; preload’, ‘vary’: ‘Origin, Accept-Encoding’, ‘square-version’: ‘2026-01-22’, ‘x-content-type-options’: ‘nosniff’, ‘x-download-options’: ‘noopen’, ‘x-envoy-decorator-operation’: ‘/v2/catalog/**’, ‘x-frame-options’: ‘SAMEORIGIN’, ‘x-permitted-cross-domain-policies’: ‘none’, ‘x-speleo-traceid’: ‘CDN-1208d344-01f5-417d-b472-f3a9008bb070’, ‘x-sq-dc’: ‘aws’, ‘x-sq-region’: ‘us-west-2’, ‘x-xss-protection’: ‘1; mode=block’}, status_code: 500, body: {‘errors’: [{‘category’: ‘API_ERROR’, ‘code’: ‘INTERNAL_SERVER_ERROR’, ‘detail’: ‘An internal error has occurred, and the API was unable to service your request.’}]}
Thank you