Troubleshooting
Have you created an order but can't locate it on the Orders page of your staging account? If so, there are a few reasons why this could have happened.
Troubleshooting
Authorization error
If you receive the response below, check the channelName scope. Include it in the request and match its case exactly.
{"code":"Authorization error","description":"you're not allowed to send in orders"}
Orders not appearing, although showing 200 OK
200 OKCheck your pickupTime, which controls the date range selector format. If you use the sample date "2020-03-09T17:17:38Z", select March 9th 2020 to see your order.
Use a unique order ID. Orders with duplicate IDs are hidden as duplicates and are not viewable in the system.
Orders are failing
Check the order failure message. View it by going to the Orders page of your test customer account. If you see an invalid PLU (price look-up code) error, use the correct PLUs for your products.
ChannelLink ID
Each location is connected to your test channel link with its own unique channelLinkId. When you create an order, make sure you include the correct channelLinkId in the URL.
https://api.staging.deliverect.com/channelname/order/channelLinkId
You can find a channel's channelLinkId by navigating to the Locations page of the customer account.

Channel name/scope
Channels may include the wrong channel name in the URL when creating the order.
https://api.staging.deliverect.com/channelname/order/channelLinkId
The channel name or "scope" is provided with the welcome email together with the API credentials. As a rule of thumb, the channel name is one word and entirely lowercase.
The error in that case is the following:
{"code":"Authorization error","description":"you're not allowed to send in orders"}
Endpoint
The incorrect environment was used.
- Staging environment: api.staging.deliverect.com
- Production environment: api.deliverect.com
PickUpTime in the past
When creating the order, ensure the pickUpTime value is either:
- the current time if the order is ASAP.
- a future time if the order is in the future.
The order won't be visible on the Orders page of the account if the pickUpTime is passed in the past. Orders are filtered by pickUpTime. To find it, you would need to go to the past date.
Updated 4 days ago
