Invalid KeyConditionExpression: Attribute name is a reserved keyword; reserved keyword: status
Also, update the logic in getAvailableImportQueue() to search for an available import queue correctly, which will prevent the situation we observed on dev where 2 jobs were able to claim the same queue:
With this change deployed to dev, the API service is rejecting new import jobs once the queues are all claimed:
Use latest spacecat-shared-data-access release: https://github.com/adobe/spacecat-shared/pull/261 to get around this error:
Also, update the logic in
getAvailableImportQueue()
to search for an available import queue correctly, which will prevent the situation we observed on dev where 2 jobs were able to claim the same queue:With this change deployed to dev, the API service is rejecting new import jobs once the queues are all claimed: