---
description: >-
  Common errors that occur when sending orders from Appfront to Revel. This page
  will guide you through all of the issues you will experience when working with
  Revel and how to fix them.
---

# Revel Troubleshooting

## Problem : Modifier does not exist

{% hint style="info" %}
{"error":{"message":"ERROR","details":{"message":"Modifier ({'modifierClass\_\_establishment': ####-#### - ID: 1, 'active': True, 'barcode': u'100000001912'}) does not exist."},"code":0},"status":"ERROR"}
{% endhint %}

This usually means that an item modifier is connected to a product barcode. For example in the Spaghetti bucket the Sausage modifier has been connected to the barcode 100000001912 which is the Sausage product's barcode.

### Solution:

* Find the error in the activity log and note the item and modifiers that got an error

![The problematic item is Bucket of Spaghetti which was sent with two modifiers (meatballs and sausage)](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LMTGUVGui6tknWuBJoC%2F-LMTIPuHWGWtkKNMVcZN%2FScreen%20Shot%202018-09-15%20at%2020.11.45.png?alt=media\&token=c5fcc2de-e3a1-42e2-9660-e2cbd4b49a0a)

* Copy the barcode that was not found and search for it in the Appfront portal in: \
  Configuration > Menu > POS

![The sausage was the modifier that caused the problem](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LMTGUVGui6tknWuBJoC%2F-LMTHyGlEyC9etHAjjoU%2FScreen%20Shot%202018-09-15%20at%2020.12.19.png?alt=media\&token=88122681-3969-40e7-8a42-039357cde6a2)

* Find the correct barcode in revel for the modifier of the ordered item. In our example the problematic item was Bucket of Spaghetti&#x20;

![Find the relevant modifier group - in our current situation this means "Pasta Meats"](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LMTGUVGui6tknWuBJoC%2F-LMTIgT4k8toVTEjGsJQ%2FScreen%20Shot%202018-09-15%20at%2020.22.34.png?alt=media\&token=ff591b55-aae2-491b-a20c-78bd3377aeb0)

![We found the desired Barcode: 9999](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LMTGUVGui6tknWuBJoC%2F-LMTIjKnOeN0Ub6GFq87%2FScreen%20Shot%202018-09-15%20at%2020.22.47.png?alt=media\&token=30d1bb3e-2965-40b3-872a-72b655eb7899)

* Now we can go into the Bucket of Spaghetti item in Appfront and fix the modifier linkage of sausage

![Scroll down to:](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LMTJ6U2VQwxIEvaP-Qh%2F-LMTJV9O6ksPIces_JYG%2FScreen%20Shot%202018-09-15%20at%2020.16.47.png?alt=media\&token=4371fc74-b673-44bb-a95b-4a9a8cd0f57f)

![There is the problematic link (can be seen on hover or on click of the green link)](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LMTJ6U2VQwxIEvaP-Qh%2F-LMTJeR7WxdWwf6K-LBT%2FScreen%20Shot%202018-09-15%20at%2020.26.04.png?alt=media\&token=4943a11c-7af0-4a19-8436-cadf32a70202)

![Click the green link and change the connection by typing sausage and choosing the correct barcoded sausage](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LMTJ6U2VQwxIEvaP-Qh%2F-LMTJYakR2Q-aquCZnAr%2FScreen%20Shot%202018-09-15%20at%2020.17.28.png?alt=media\&token=b092a412-cf7d-4d03-8ab5-4ab51a7aa0a3)

* Save and the problem is solved

## Problem: Modifier limit is incorrect

{% hint style="info" %}
{"error":{"message":"INCORRECT\_MODIFIER\_QTY","details":{"class\_id":41,"maximum\_amount":4},"code":0},"status":"ERROR"}
{% endhint %}

The item in Appfront is not configured with the same minimum / maximum modifier limits as in Revel

### Solution: Fix the item in Appfront to the correct minimum / maximum limits

![](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LMTNAcKbf45wFlavjwB%2F-LMTPlIuEZzEDTZIJc3Z%2FScreen%20Shot%202018-09-15%20at%2021.00.10.png?alt=media\&token=de6d7b72-dd82-4511-b1e5-8fb7025a858c)

The limit in Appfront for this modifier group is 4, but as can be seen there is no limit because the Max with Extra Fee is greater than the 4, and there is a fee of 2.1

{% hint style="info" %}
What is Min, Max included, Max With Extra Fee and Extra Fee?

Min: The minimum required choices in this modifier group

Max included: The maximum allowed number of choices that are included in the price of the product (with no additional fee)

Max with Extra Fee: The maximum allowed number of choices that can be chosen for this modifier group.

Extra Fee: The fee that will be charged for any modifier that is chosen that is above the count of the maximum included and within the max with extra fee.

For example - a salad with 2 toppings that are included in the price of the salad, a total of 7 allowed toppings, each added topping over the included 2 will be at the price of $1 - will be configured as follows:\
Min: 0\
Max included: 2\
Max with Extra Fee: 7\
Extra Fee: 1
{% endhint %}



![In Revel the limit is 4](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LMTNAcKbf45wFlavjwB%2F-LMTP-JaUrMACsbdgUOh%2FScreen%20Shot%202018-09-15%20at%2021.02.53.png?alt=media\&token=5d8a780b-06d8-4001-a1db-eb2ec477fb0a)

So since revel has a limit of 4 and isn't expecting any more, we need to remove the modifier group option to have above the maximum with fee

![](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LMTNAcKbf45wFlavjwB%2F-LMTQDSHjnobICACRkQv%2FScreen%20Shot%202018-09-15%20at%2021.06.12.png?alt=media\&token=91aac862-ab31-40e7-86f9-153ecadbc103)

Now the customers will not be able to select more than 4 modifiers for this modifier group and the orders will not fail

## Problem: NO modifiers are added to an item without having removed the modifiers

### Solution: the modifier is connected to an incorrect barcode in Appfront

In Revel, an item can be configured with default modifiers. This means that if a default modifier is not sent in the order the modifier will print as 'NO Modifier'.

In our example we sent a Seasonal Bowl with kale, but 'NO Kale' was printed.

When looking at the Seasonal Bowl configuration in Revel

![The Seasonal Bowl configuration in Revel - scroll down to the Kale Modifier and notice the DFLT is checked](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LMbRrgCD6j0PCxZ-AL8%2F-LMbSS1M0eK6bsSZ8K0K%2FScreen%20Shot%202018-09-17%20at%2015.09.55.png?alt=media\&token=906fa9a7-9049-4279-90fd-c7ca104e8a03)

As can be seen the Seasonal Bowl has a default (DFLT) modifier of Kale. The modifier group that holds the kale is named "Bowl Base Green". Lets go to Modifiers in Revel and find this modifier group in order to find the correct barcode for the Kale.

![](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LMbRrgCD6j0PCxZ-AL8%2F-LMbSvn6v7jThGWkQ7_f%2FScreen%20Shot%202018-09-17%20at%2015.10.40.png?alt=media\&token=031b05d1-9100-40e9-942a-2c90f8f1cf5c)

![Edit the kale modifier and find the Barcode that should be configured in the Seasonal Bowl item](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LMbRrgCD6j0PCxZ-AL8%2F-LMbT-M1Dz5cGT-tnsC6%2FScreen%20Shot%202018-09-17%20at%2015.10.54.png?alt=media\&token=223db4fc-eeea-4a51-a1b4-9906894fc524)

Going back to Appfront we can see that the modifier in the Seasonal Bowl is connected to a different barcode:

![](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LMbRrgCD6j0PCxZ-AL8%2F-LMbTCvjKFo4xQMUjPvL%2FScreen%20Shot%202018-09-17%20at%2015.13.31.png?alt=media\&token=0df57ea3-5fe0-4d92-867f-4442430fe7dc)

So change the connection to 100000006085 and everything should be printed out correctly.

![](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LMbRrgCD6j0PCxZ-AL8%2F-LMbTmZaSJpJCIvz4zpE%2FScreen%20Shot%202018-09-17%20at%2015.21.48.png?alt=media\&token=d661650c-f516-44b7-adc0-005ad7b2f84d)

{% hint style="info" %}
If the modifier doesn't show up in the link dropdown, you will need to add it to the POS tab - under Configuration > Menu > POS > Add Item
{% endhint %}

## &#x20;Problem : Product price is incorrect:

{% hint style="info" %}
ERROR: sent to REVEL POS and received error - Received return value: {"error":{"message":"INCORRECT\_PRODUCT\_PRICE","details":{"price":2.50,"product\_id":XX,"name":" Dr. Pepper"},"code":0},"status":"ERROR"}
{% endhint %}

### Solution: The price of the product in Revel should be the SAME as the one in Appfront

All you have to do is change the price in Appfront to be similar to the one on Revel.

To do that go to Configuration-> Menu select the item (in this case the item is Dr. Pepper) and change the item's Price to the price that is written in the error (2.50).

![](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LOTjRh91W2hIs2adM1k%2F-LOTlwJImhn-uMF1iUPU%2Fimage.png?alt=media\&token=56c33f6f-263f-4e70-9c60-2562461dc223)



If You want to change the price in Revel you go to Products->Find the item->Click edit

![](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LOTjRh91W2hIs2adM1k%2F-LOTkmH8bESV3bJ8EKuJ%2Fimage.png?alt=media\&token=d70258fd-f9b9-4831-8e7f-700d39dff3e8)

Now simply change the price of the item , click Save and finally click "Push Changes"

![](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LOTjRh91W2hIs2adM1k%2F-LOTlTvD8KQuaqfT60Yx%2Fimage.png?alt=media\&token=ee23d424-3ee8-4d19-a183-ede7435898ff)

## Problem: Delivery Fee is in minus in POS

### Solution: Set Delivery Fee in Revel

![Go to Settings in revel and search for "Enable service fee" and mark the check and save](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LU13Cc4ifXnfnQKARZE%2F-LU13fljley7RFd2-0ua%2Fimage.png?alt=media\&token=a4e73ee8-3e2d-466d-bb8a-a5add0973e93)

![](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LU16B1a9fuad4mbhLbt%2F-LU16ChzSgJ7OBiCj1TD%2Fimage.png?alt=media\&token=6dfe8123-0777-4b46-baf1-288bdf211a23)

![Add a service fee with the price of the delivery](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LU13Cc4ifXnfnQKARZE%2F-LU13xIp4e9ax_slcT4c%2Fimage.png?alt=media\&token=2ed4ba9c-2ff4-4d99-88b5-dbde4b883b32)

![](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LU13Cc4ifXnfnQKARZE%2F-LU14EVsR2CgyrPkTRK4%2Fimage.png?alt=media\&token=6a58077b-b7f3-417f-a9e9-ac2586af99bf)

![Choose the delivery serving option](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-LU14d5U6HMpaDCZZ-Lm%2F-LU14eZCQmkQe7MCdyjs%2Fimage.png?alt=media\&token=e7f151e6-1cbb-4d12-b120-9bec1735f4da)
