# \[#1031\] "page is in another universe" and "Wrong API key" messages

**URL:** https://tech-support.simplybook.me/t/1031-page-is-in-another-universe-and-wrong-api-key-messages/1031
**Category:** Bug Reports
**Tags:** migrated, redmine-1031
**Created:** [March 21, 2023, 10:48am UTC](https://tech-support.simplybook.me/t/1031-page-is-in-another-universe-and-wrong-api-key-messages/1031 "2023-03-21T10:48:49Z")
**Posts on this page:** 8
**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: [March 21, 2023, 10:48am UTC](https://tech-support.simplybook.me/t/1031-page-is-in-another-universe-and-wrong-api-key-messages/1031/1 "2023-03-21T10:48:49Z")

</div>

**Migrated from Redmine #1031** | _Author: Matteo Frigerio_  
_Status: Feedback | Priority: High, I’m very impatient | Created: 2023-03-21_

* * *

Good Morning, I encounter the following issues while interacting with simplybook and his APIs:  
When I perform the following post (using the actual values instead of XXX)

```

POST /admin/auth HTTP/1.1
Host: user-api-v2.simplybook.me
Content-Type: application/json
{ "company": "XXX",  
"login": "XXX", 
 "password": "XXX"}

```

I obtain a “I’m sorry, that page is in another universe!” html page in return, which is also the same page I get from trying to log from the top of the [API documentation | SimplyBook.me Online Scheduling](https://simplybook.me/en/api/developer-api/tab) page (always with the same company value, which does not result blocked, I checked at XXX.simplybook.pro/v2); also, in the same page, whenever I try the “Start code” button, the api key I take from the API custom features of my simplybook.pro/v2/management profile always results wrong. We have a premium account, any idea of what could be the problem?

---

<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: [March 21, 2023, 12:44pm UTC](https://tech-support.simplybook.me/t/1031-page-is-in-another-universe-and-wrong-api-key-messages/1031/2 "2023-03-21T12:44:41Z")

</div>

**Dmytro Bondarev** wrote:

Hi,

Please use your server for API and for login. For example your public page is companypage.simplybook.it , then you should use user-api-v2.simplybook.it API endpoint. (the same for simplybook.pro, asia, me , etc.).

To login to admin API you should use user login, password, please check [API documentation | SimplyBook.me Online Scheduling](https://simplybook.me/en/api/developer-api/tab/rest_api#method_POST_/admin/auth)

---

<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: [March 21, 2023, 2:26pm UTC](https://tech-support.simplybook.me/t/1031-page-is-in-another-universe-and-wrong-api-key-messages/1031/3 "2023-03-21T14:26:58Z")

</div>

**Matteo Frigerio** wrote:

The problem persists when I try to login via web page, and when I try to use the “Start Code” button from [API documentation | SimplyBook.me Online Scheduling](https://simplybook.me/en/api/developer-api/tab) (“I’m sorry, that page is in another universe!” and “Wrong API key” respectively.

---

<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: [March 21, 2023, 2:29pm UTC](https://tech-support.simplybook.me/t/1031-page-is-in-another-universe-and-wrong-api-key-messages/1031/4 "2023-03-21T14:29:32Z")

</div>

**Dmytro Bondarev** wrote:

Hi, the example page is for me server only.  
for public API/JSON RPC only.

Please provide your HTTP request and response, so we can check issue (you can change auth token).

---

<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 9, 2024, 9:24am UTC](https://tech-support.simplybook.me/t/1031-page-is-in-another-universe-and-wrong-api-key-messages/1031/5 "2024-09-09T09:24:27Z")

</div>

**Matteo Frigerio** wrote:

Dmytro Bondarev wrote:

> Hi, the example page is for me server only.  
> for public API/JSON RPC only.
> 
> Please provide your HTTP request and response, so we can check issue (you can change auth token).

The issue persist, let me attach request and response (credentials are hidden, the rest is correct

---

<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 9, 2024, 9:25am UTC](https://tech-support.simplybook.me/t/1031-page-is-in-another-universe-and-wrong-api-key-messages/1031/6 "2024-09-09T09:25:59Z")

</div>

**Matteo Frigerio** wrote:

Dmytro Bondarev wrote:

> Hi, the example page is for me server only.  
> for public API/JSON RPC only.
> 
> Please provide your HTTP request and response, so we can check issue (you can change auth token).

An issue in the issue, it does not let me upload any file;

curl --location ‘[https://user-api-v2.simplybook.me/admin/auth](https://user-api-v2.simplybook.me/admin/auth)’   
–header ‘Content-Type: application/json’   
–data ‘{  
“company”: “our-domain”,  
“login”: “our-user”,  
“password”: “our-password”  
}’

* * *

{  
“code”: 400,  
“message”: “Invalid company”,  
“data”: ,  
“message\_data”:   
}

---

<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, 12:35pm UTC](https://tech-support.simplybook.me/t/1031-page-is-in-another-universe-and-wrong-api-key-messages/1031/7 "2024-09-10T12:35:32Z")

</div>

**Dmytro Bondarev** wrote:

Hi, you should use only company login, not domain.  
Example: your domain is {company\_login}.simplybook.me , your should pass only {company\_login}

---

<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, 1:09pm UTC](https://tech-support.simplybook.me/t/1031-page-is-in-another-universe-and-wrong-api-key-messages/1031/8 "2024-09-10T13:09:07Z")

</div>

**Matteo Frigerio** wrote:

Dmytro Bondarev wrote:

> Hi, you should use only company login, not domain.  
> Example: your domain is {company\_login}.simplybook.me , your should pass only {company\_login}

So I did, it was another mistake again (in the url), but now is resolved
