Unable to Create Booking

Heyy @Ben would you be available for a 5 min call please? I think that we could sort that out quickly if we hop on a call. In the meantime ill try your suggestion.

When I try what @g3Mark suggested

@Ben Thanks! One thing to note for anyone else trying to do this. You need to structure the PATCH different from the initial POST. I was patching to https://api.youcanbook.me/v1/intents/{intentId}/selections

I get an error 500 for the the call the the selections endpoint, when I try what you suggested @Ben (including the timestamp in the selections patch), I still get an error 409

 data: {
      code: 'ycbm_api_intent_misconfigured',
      errors: [Array],
      httpCode: 409,
      httpStatusCode: 409,
      message: 'Intent misconfigured',
      status: 'CONFLICT',
      type: 'YcbmApiException'
    }

@hdev I will send you a direct message with a link so we can talk through your setup and issues.

Hey @Ben, I’ve found the mistake, now it works. First I made the same mistake as @g3Mark for the selections patch. Then Instead of “value” in the form Objects list I had “string”, I suppose it was the older way of calling your API.

Thanks to you two guys I was able to fix our YCBM api call.

1 Like