Array of dates can't be null in API connector

I have an API connector call initiated with the following response:

[{
  "x_values": [
    5
  ],
  "x_dates": [
    "2020-01-01"
  ],
  "y_values": [
    0
  ]
}]

Depending on the context, the API can return “x_values”: null, and this is supported (so array of numbers can be null). But it can also return “x_dates”: null. In such situation, doapicallfromserver returns a 500 with the following message:

{
    "error_class": "UnexpectedError",
    "args": {
        "code": "1741859095328x499736526642149400"
    },
    "message": "Sorry, we ran into a temporary bug and can't complete your request. We'll fix it as soon as we can; please try again in a bit!"
}

NB: This is a regression, as API connector used to support my “x_dates”: null couple of days ago.

Could anyone help? Thx.

Update: In order to work around this regression, I updated my API so it returns empty arrays instead of null…

have you tried connecting with support? They are pretty good at working through your app and escalating bug reports (if any)

Hello, I had a similar problem in an integration API, I solved it without good practices, I created a difference call for each demand, for example: a call for null X and dates and Y is not empty, a call for empty dates and X and Y are not empty and a call with X and empty dates and Y is not empty