We have an app on both US and EU market. We are using this API endpoint to create a customer: https://docs.clover.com/reference/handlerscreatecustomer
We have the same code running on both markets. Few weeks ago, we started noticing a big number of 500 Internal Server errors (no additional details) appearing in the logs when calling this endpoint only on EU API.
This is an example of a request (sensitive data redacted):
curl --request POST \ --url 'https://api.eu.clover.com/v3/merchants/{mID}/customers?expand=addresses,emailAddresses,phoneNumbers' \ --header 'Authorization: Bearer {accessToken}' \ --header 'Content-Type: application/json' \ --data ' { "emailAddresses": [ { "emailAddress": "user@user.com", "verifiedTime": 1630361379992 } ], "phoneNumbers": [ { "phoneNumber": "+123123123123" } ], "firstName": "firstname", "lastName": "lastname", "customerSince": 0 } '
The API just responds with status code 500 and this response body:
{"message":"500 Internal Server Error"}
Again, the same code works on US API, and wasn't changed in a very long time.
Any ideas what might be causing this?