# \[#1277\] API  Callback with empty request

**URL:** https://tech-support.simplybook.me/t/1277-api-callback-with-empty-request/1277
**Category:** Bug Reports
**Tags:** redmine-1277, migrated
**Created:** [September 10, 2024, 2:21pm UTC](https://tech-support.simplybook.me/t/1277-api-callback-with-empty-request/1277 "2024-09-10T14:21:29Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://tech-support.simplybook.me/uploads/default/original/1X/faedac32116409149d0a20d900b3047df01a4ad0.png) [@system](https://tech-support.simplybook.me/u/system)
#### Post date: [September 10, 2024, 2:21pm UTC](https://tech-support.simplybook.me/t/1277-api-callback-with-empty-request/1277/1 "2024-09-10T14:21:29Z")

</div>

**Migrated from Redmine #1277** | _Author: Guilherme Bueno_  
_Status: New | Priority: Immediate, there is BUG! | Created: 2024-09-10_

* * *

Today at around 9:15 EST we stopped receiving any data with the callback requests from the SB API.  
This results in our database being out of sync with the current bookings being made on the platform as well as us not being able to send any confirmation emails for the appointments we make, since this is handled on our side.

Please revert whatever changes or advise on how to proceed

---

<div class="post-metadata">

### Author: ![system](https://tech-support.simplybook.me/uploads/default/original/1X/faedac32116409149d0a20d900b3047df01a4ad0.png) [@system](https://tech-support.simplybook.me/u/system)
#### Post date: [September 10, 2024, 2:23pm UTC](https://tech-support.simplybook.me/t/1277-api-callback-with-empty-request/1277/2 "2024-09-10T14:23:45Z")

</div>

**Dmytro Bondarev** wrote:

Hi, we didn’t make any changes, could you please provide http request from SB side?

---

<div class="post-metadata">

### Author: ![system](https://tech-support.simplybook.me/uploads/default/original/1X/faedac32116409149d0a20d900b3047df01a4ad0.png) [@system](https://tech-support.simplybook.me/u/system)
#### Post date: [September 10, 2024, 2:26pm UTC](https://tech-support.simplybook.me/t/1277-api-callback-with-empty-request/1277/3 "2024-09-10T14:26:18Z")

</div>

**Guilherme Bueno** wrote:

Dmytro Bondarev wrote:

> Hi, we didn’t make any changes, could you please provide http request from SB side?

How can I get the http request from SB side? When I log the request params on the endpoint on our side receiving the request, I get just an empty array.

---

<div class="post-metadata">

### Author: ![system](https://tech-support.simplybook.me/uploads/default/original/1X/faedac32116409149d0a20d900b3047df01a4ad0.png) [@system](https://tech-support.simplybook.me/u/system)
#### Post date: [September 10, 2024, 2:29pm UTC](https://tech-support.simplybook.me/t/1277-api-callback-with-empty-request/1277/4 "2024-09-10T14:29:28Z")

</div>

**Guilherme Bueno** wrote:

On our side there were no deployments as well, last deployment was 4 days ago, where this problem was not present

---

<div class="post-metadata">

### Author: ![system](https://tech-support.simplybook.me/uploads/default/original/1X/faedac32116409149d0a20d900b3047df01a4ad0.png) [@system](https://tech-support.simplybook.me/u/system)
#### Post date: [September 10, 2024, 2:30pm UTC](https://tech-support.simplybook.me/t/1277-api-callback-with-empty-request/1277/5 "2024-09-10T14:30:43Z")

</div>

**Dmytro Bondarev** wrote:

please provide raw body and all headers that you receive from sb server.  
also please provide your public site url, so we can check issue.

---

<div class="post-metadata">

### Author: ![system](https://tech-support.simplybook.me/uploads/default/original/1X/faedac32116409149d0a20d900b3047df01a4ad0.png) [@system](https://tech-support.simplybook.me/u/system)
#### Post date: [September 10, 2024, 2:33pm UTC](https://tech-support.simplybook.me/t/1277-api-callback-with-empty-request/1277/6 "2024-09-10T14:33:58Z")

</div>

**Redmine Admin** wrote:

you can use some service like [https://webhook.site/](https://webhook.site/) to provide a mock API endpoint and then share results with us if it still be empty

---

<div class="post-metadata">

### Author: ![system](https://tech-support.simplybook.me/uploads/default/original/1X/faedac32116409149d0a20d900b3047df01a4ad0.png) [@system](https://tech-support.simplybook.me/u/system)
#### Post date: [September 10, 2024, 2:43pm UTC](https://tech-support.simplybook.me/t/1277-api-callback-with-empty-request/1277/7 "2024-09-10T14:43:10Z")

</div>

**Guilherme Bueno** wrote:

Dmytro Bondarev wrote:

> please provide raw body and all headers that you receive from sb server.  
> also please provide your public site url, so we can check issue.

Sorry for the formatting but I had to grab it from the server logs:

The header is here:  
[connection] =\> Array  
(  
[0] =\> Keep-Alive  
)  
[cf-ipcountry] =\> Array  
(  
[0] =\> CA  
)

[cf-visitor] =\> Array  
(  
[0] =\> {“scheme”:“https”}  
)

[cdn-loop] =\> Array  
(  
[0] =\> cloudflare; loops=1  
)

[content-type] =\> Array  
(  
[0] =\> application/json  
)

[x-forwarded-proto] =\> Array  
(  
[0] =\> https  
)

[user-agent] =\> Array  
(  
[0] =\> [simplybook.me](http://simplybook.me) API  
)

[accept-encoding] =\> Array  
(  
[0] =\> gzip, br  
)

[cf-connecting-ip] =\> Array  
(  
[0] =\> 35.203.18.191  
)

[host] =\> Array  
(  
[0] =\> [santemedic.com](http://santemedic.com)  
)

[x-forwarded-for] =\> Array  
(  
[0] =\> 35.203.18.191  
)

[cf-ray] =\> Array  
(  
[0] =\> 8c102c04cf9c38e1  
)

)

But trying to get the body of the request returns an empty array. The full request was to large for me to print on the server logs, it exceeded the memory

---

<div class="post-metadata">

### Author: ![system](https://tech-support.simplybook.me/uploads/default/original/1X/faedac32116409149d0a20d900b3047df01a4ad0.png) [@system](https://tech-support.simplybook.me/u/system)
#### Post date: [September 10, 2024, 2:44pm UTC](https://tech-support.simplybook.me/t/1277-api-callback-with-empty-request/1277/8 "2024-09-10T14:44:49Z")

</div>

**Guilherme Bueno** wrote:

The url for the endpoint would be

[https://santemedic.com/api/sb/5](https://santemedic.com/api/sb/5)

---

<div class="post-metadata">

### Author: ![system](https://tech-support.simplybook.me/uploads/default/original/1X/faedac32116409149d0a20d900b3047df01a4ad0.png) [@system](https://tech-support.simplybook.me/u/system)
#### Post date: [September 10, 2024, 2:45pm UTC](https://tech-support.simplybook.me/t/1277-api-callback-with-empty-request/1277/9 "2024-09-10T14:45:59Z")

</div>

**Dmytro Bondarev** wrote:

please try to use check with [https://webhook.site/](https://webhook.site/) and please provide link to view the callback.

---

<div class="post-metadata">

### Author: ![system](https://tech-support.simplybook.me/uploads/default/original/1X/faedac32116409149d0a20d900b3047df01a4ad0.png) [@system](https://tech-support.simplybook.me/u/system)
#### Post date: [September 10, 2024, 2:52pm UTC](https://tech-support.simplybook.me/t/1277-api-callback-with-empty-request/1277/10 "2024-09-10T14:52:08Z")

</div>

**Guilherme Bueno** wrote:

Here, i changed the callback url to be the one of this service you mentioned

> **[Webhook.site - Test, transform and automate Web requests and emails](https://webhook.site/#!/view/fd1d2720-01b6-4fb0-8e12-3d2b2cedd921/64530a9b-745d-4e35-a82b-c72fff730b2a/1)**
>
> Instantly generate a free, unique URL and email address to test, inspect, and automate (with a visual workflow editor and scripts) incoming HTTP requests and emails

You can see the request details on the link above  
I went ahead and canceled a booking to be able to send this request, as you can see it seems to be empty

---

<div class="post-metadata">

### Author: ![system](https://tech-support.simplybook.me/uploads/default/original/1X/faedac32116409149d0a20d900b3047df01a4ad0.png) [@system](https://tech-support.simplybook.me/u/system)
#### Post date: [September 10, 2024, 2:53pm UTC](https://tech-support.simplybook.me/t/1277-api-callback-with-empty-request/1277/11 "2024-09-10T14:53:55Z")

</div>

**Guilherme Bueno** wrote:

The most recent one I created a booking instead of cancelling one so we can have a more realistic scenario but it’s still the same thing, no body

---

<div class="post-metadata">

### Author: ![system](https://tech-support.simplybook.me/uploads/default/original/1X/faedac32116409149d0a20d900b3047df01a4ad0.png) [@system](https://tech-support.simplybook.me/u/system)
#### Post date: [September 10, 2024, 2:58pm UTC](https://tech-support.simplybook.me/t/1277-api-callback-with-empty-request/1277/12 "2024-09-10T14:58:38Z")

</div>

**Dmytro Bondarev** wrote:

Could you please try again and let us know?

---

<div class="post-metadata">

### Author: ![system](https://tech-support.simplybook.me/uploads/default/original/1X/faedac32116409149d0a20d900b3047df01a4ad0.png) [@system](https://tech-support.simplybook.me/u/system)
#### Post date: [September 10, 2024, 3:04pm UTC](https://tech-support.simplybook.me/t/1277-api-callback-with-empty-request/1277/13 "2024-09-10T15:04:01Z")

</div>

**Guilherme Bueno** wrote:

Yeah i just cancelled a booking and it seems to be fixed. Out of curiosity, what was then issue?

---

<div class="post-metadata">

### Author: ![system](https://tech-support.simplybook.me/uploads/default/original/1X/faedac32116409149d0a20d900b3047df01a4ad0.png) [@system](https://tech-support.simplybook.me/u/system)
#### Post date: [September 10, 2024, 3:07pm UTC](https://tech-support.simplybook.me/t/1277-api-callback-with-empty-request/1277/14 "2024-09-10T15:07:31Z")

</div>

**Redmine Admin** wrote:

We sincerely apologize for the inconvenience. This issue is due to an infrastructure problem, it is resolved now and we are taking all necessary steps to prevent future occurrences

---

<div class="post-metadata">

### Author: ![system](https://tech-support.simplybook.me/uploads/default/original/1X/faedac32116409149d0a20d900b3047df01a4ad0.png) [@system](https://tech-support.simplybook.me/u/system)
#### Post date: [September 10, 2024, 3:08pm UTC](https://tech-support.simplybook.me/t/1277-api-callback-with-empty-request/1277/15 "2024-09-10T15:08:17Z")

</div>

**Guilherme Bueno** wrote:

Sounds good. Thank you for the swift response guys!  
Have a great rest of your day
