Null entity error for entity not in request
Hello,
We are receiving a null entity error for an entity that is not in our requests. This is happening when doing price checks prior to placing an order. We have identified the entity, which is an archived tax rate, but do not know how to get Toast to stop pulling that tax rate into our prices. Can we get some assistance with this? Here is an example request and response:
Request:
{'checks': [{'appliedDiscounts': [],
'customer': {'email': '******',
'firstName': '-',
'lastName': '@test',
'phone': '********'},
'selections': [{'item': {'guid': '59b799f5-f5e4-45d3-81ee-bf28d142985f'},
'itemGroup': {'guid': '10536a46-b1a0-434c-a010-cdb4f5703b74'},
'modifiers': [],
'quantity': 1}]}],
'diningOption': {'guid': '85d2598c-2154-47d9-a332-788d41d36159'},
'revenueCenter': {'guid': '75563fca-a138-4101-877f-828ef69dd4de'}}
Response:
{'canRetry': None,
'code': 10003,
'developerMessage': None,
'errors': [],
'fieldName': None,
'link': 'https://jersey.java.net/apidocs/2.8/jersey/javax/ws/rs/NotFoundException.html',
'message': 'com.toasttab.service.shared.db.hibernate.exceptions.PublishedEntityNotFoundException: '
'Cannot find published null entity '
'(0e3bc860-07d4-4645-8cf5-b8eab7d9abe5) in current restaurant.',
'messageKey': None,
'requestId': 'e1be2838-7628-4c91-8add-1a186015426b',
'status': 404}
As you can see, we are not passing this entity to Toast and do not believe that this error can be resolved on our end.
-
Official comment
Hi Jake Gilmour ,
We will need additional details about the restaurant location to troubleshoot this further. Since this is a public forum, we ask that you refrain from sharing any restaurant-specific information, so this is not the best place to resolve this error. Please contact our Integrations Care team at integrations-support@toasttab.com to investigate this issue.
Thank you,
Ann
Please sign in to leave a comment.
Comments
1 comment