Getting 500 when retrieving customers

kutay's Avatar

kutay

06 Nov, 2012 01:15 PM

Hello,

When we are trying to retrieve "all our customers" we are getting an internal server error.

We can get the specific users by filtering them like, https://cheddargetter.com/xml/customers/get/planCode/100GB

or like, https://cheddargetter.com/xml/customers/get/code/1234

The problem only occurs on, https://cheddargetter.com/xml/customers/get

Could you help us on this?

Thank you.

  1. Support Staff 1 Posted by Marc Guyer on 06 Nov, 2012 01:53 PM

    Marc Guyer's Avatar

    Hi Kutay -- This is a known issue. You've got too many customers -- a good problem to have. So, to get a successful response, you'll need to filter the results. I might suggest doing it by date. Also, you might be interested to learn that there is an undocumented API method, customers/list that works just like customers/get except it returns only current information (no invoice/transaction history). It's much more efficient than customers/get and may be a better choice for your purposes. The customers/list method suffers from the same size limitations, however, so you still might have to do your own limiting.

    Long term, we will probably introduce an automatic "paging" of the response which will require multiple requests that include a pageNumber argument or the like.

  2. 2 Posted by kutay on 06 Nov, 2012 03:34 PM

    kutay's Avatar

    Thank you Marc, for the fast response. Filtering the results should work fine.

  3. kutay closed this discussion on 06 Nov, 2012 03:34 PM.

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

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM