2017-12-10 19:14:37 57627166 400 Param 'code' is specified but is empty
2017-12-10 19:08:28 57627130 400 Param 'code' is specified but is empty
2017-12-10 19:08:22 57627128 400 Param 'code' is specified but is empty
2017-12-10 19:02:48 57627086 400 Param 'code' is specified but is empty
2017-12-10 19:01:59 57627078 400 Param 'code' is specified but is empty
What does this mean? Param 'code' is specified but is empty
Discussions are closed to public comments.
If you need help with Cheddar please
start a new discussion.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

#1 Posted by Meghan Turner Support staff on 13 Dec, 2017 06:20 PM
Hi Aysia,
This error message indicates that you're not passing a customer
codethrough to Cheddar when you're creating or updating a customer. Take a look at our API documentation here for all the required params.I'm assuming that you're making an API call to create or update a customer when you get these errors, but let me know if that's not the case.
Meghan
#2 Posted by Aysia Wright on 13 Dec, 2017 06:26 PM
Thank you Meghan. I will discuss this with our programmer.
Cheers,
Aysia
#3 Posted by Meghan Turner Support staff on 21 Dec, 2017 05:53 PM
Hey Aysia,
I saw that you're still getting the "Param 'code' is specified but is empty" error, so I chatted with our engineering team and they let me know that you're getting these errors because you're making a call to the
/customers/getAPI endpoint with thecodeparam specified, but an empty value. If a code param is specified, Cheddar assumes that you're only trying to get a single customer record. Since hitting that endpoint with an empty value for thecodeparam would return all customer records, this generates an error.If you're trying to get a record for a single customer, you'll just need to specify the customer code for the
codeparam.Meghan
Marcela Poffald closed this discussion on 11 Apr, 2018 04:09 PM.