The API provides a means of returning detailed error responses. In order to activate these responses, you must supply a request header value:

AdvancedErrorCodes: True

Response Data Contract

    {
        "ErrorCode" : int,
        "Message" : string
    }
  

Table of Error Codes

Error Code Description
0 Undocumented Internal Server Error
2 Unable to parse lookup value
3 Client username not specified
4 Client secret not specified
5 Client timestamp is required with authorization
6 Invalid client timestamp
7 Client timestamp Expired
8 Client username or authorization do not match
9 Client username or password do not match
10 Customer Email Not Specified
11 CustomerToken value not found in header
12 The CustomerToken is invalid
13 Customer not found
14 Customer token does not match client
15 Invalid customer or token
16 A buddy is required
17 Buddy email address required
18 Buddy email address is not valid
19 Customer token expired
20 Invalid input detected
21 Resource Not Found
22 Access Denied
23 Bad Request
24 Gone
25 Buddy email address is required in the body
26 Golf buddy was not found
27 Invalid channel id
28 Invalid country code
29 Channel id is required
30 Invalid player count
31 Invalid hole count
32 Invalid take parameter
33 Invalid skip parameter
34 Cannot parse sort direction
35 Invalid state province code
36 Invalid facility id
37 Invalid tee time rate id
38 Invalid start date
39 Invalid end date
40 Invalid city
41 Facility not found
42 Invalid customer profile
43 Resident facility already exists
44 Favorite facility does not exist
45 Resident facility does not exist
46 Invalid reservation Id
47 Reservation does not exist
48 Sort not implemented
49 Customer token required
50 Invalid timeout specified
51 Authentication failed.
52 Invalid market id.
53 Market not found.
54 Postal code required
55 Unable to parse date
56 Unable to parse decimal
57 Unable to parse time.
58 Parameter query is required.
59 Invalid subscription list id.
60 Invalid subscription status.
61 The to-email address is required.
62 Invalid agreement statement id.
63 Agreement statement was not found.
64 Proximity too small.
65 Unable to parse redirect parameter.
66 Current password not specified.
67 New password not specified.
68 An object was not specified in the request.
69 A customer username was not specified.
70 Customer guid not specified.
71 Tagcode not specified.
72 Channel settings not found.
73 The forgot password url was not specified.
74 The reset password url was not specified.
75 The login url was not specified.
76 Property emailbodytext exceeds the maximum character limit of 255 characters.
77 The request contained an invalid character for one or more literal values.
78 An invalid parameter was passed.
79 The operation is not allowed for the specified channel.
80 Invalid purchase reference ID specified.
81 Invalid purchase object specified.
82 Invalid purchase data specified.
83 Invalid purchase information specified.
84 Purchase already exists.
85 Invalid credit card number.
86 Invalid IP address.
87 Search query was empty.
88 Tee time no longer available.
89 The course ID specified is invalid.
90 The source system ID specified is invalid.
91 The master course ID specified is invalid.
92 The master course object was invalid.
93 The requested wallet operation is invalid.
94 Invalid value for eligibility verification type.
95 Service is unable to respond to request.
96 Invalid eligibility verification operation.
97 Invalid guest access request
98 Invalid URL.
100 No customer eligibility found for specified request types.
101 Specified charity not found.
102 Invalid donation amount.
103 Retrieval of the customer's email preference profile failed.
104 Altering the customer's subscription status failed.
105 Altering the customer's subscription preferences failed.
106 Cannot add player(s) to reservation.
107 The reservation was not booked by the specified channel.
108 The specified customer did not book this reservation.
109 The entire reservation must be cancelled.
110 Minimum of third party authentication required.
111 First party authentication required.
112 The provided gift card number is invalid.
113 The specified gift card is already associated with a customer account.
114 The play date/time for the tee time has changed on the server.
115 There was an issue with the data related to the requested tee time rate.
116 The cancellation window for this tee time has been exceeded.
117 Processing the cancellation at the tee sheet failed.
118 One or more of the provided payment methods were not authorized.
119 The coupon code could not be applied because the discount for the coupon has changed.
120 The coupon code could not be applied.
121 A resident restriction for booking this tee time was not met.
122 A Free Player Card ID was required but was not provided.
123 Your frequent golfer discount has expired.
124 Your GolfNow rewards have expired.
125 One or more of the provided coupon codes are invalid.
126 Your frequent golfer discount could not be applied.
127 Your GolfNow rewards could not be applied.
128 The provided zip code was invalid.
129 The tee time is no longer available or we are having trouble reserving the tee time.
130 An unknown loyalty error has occurred while attempting to reverse this tee time.
131 An unknown error has occurred while attempting to reserve this tee time.
132 The full invoice must be provided in the reservation claim.