When fetching opportunities or custom data models with after in conjunction with orderBy, an error is returned indicating that e.g. opportunity.updatedat column does not exist.
The following error is thrown:
"errors": [
{
"message": "column opportunity.updatedat does not exist",
"extensions": {
"code": "INTERNAL_SERVER_ERROR",
"response": "column opportunity.updatedat does not exist"
}
}
],
"data": {
"opportunities": null
}
The following query was used. Make sure to update the after string.
Bug Description
When fetching opportunities or custom data models with
after
in conjunction withorderBy
, an error is returned indicating that e.g.opportunity.updatedat
column does not exist.The following error is thrown:
The following query was used. Make sure to update the
after
string.Expected Behavior
The query should return a list of opportunities, sorted by the
updatedAt
column, without any errors.Technical Inputs