Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2018-11-26 12:56:13

malagutidomp
Member
Registered: 2018-11-26
Posts: 3

Problems with API

Hello, I am trying to use the api using swagger, and the response text is always "Authorization header is missing".

The header is being correctly sent and the token is correct. Do you know what could be the mistake? I have installed the server in a private server.

Thanks.

Offline

#2 2018-11-26 13:04:38

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Problems with API

Hi malagutidomp ,
welcome on the live helper chat forum !

I upgraded your account to a Member account !

Can you please share the URL where the widget or the error is showed? Maybe a screenshot can help to understand better.
I never heard this error at the moment.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#3 2018-11-26 13:10:21

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Problems with API

I see your problem regard the API function.
Have you looked this: https://livehelperchat.com/how-to-use-c … -206a.html ?

Maybe the API is not fully correctly configured?!
I never have experience with live helper chat API  cry


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#4 2018-11-26 14:25:12

malagutidomp
Member
Registered: 2018-11-26
Posts: 3

Re: Problems with API

Thank you to everybody.

Next, an screenshot fron the swagger. You can see, "authorization header" is included.

1543242392_missing.jpg

Last edited by malagutidomp (2018-11-26 14:26:36)

Offline

#5 2018-11-26 16:31:21

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Problems with API

Thank you for the update! I have no experience with this, i will try to ask to the chat owner and update here if i get a possible suggestions.
Have you tried to search the response message in Google? Maybe you can find suggestions.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#6 2018-11-27 07:44:11

malagutidomp
Member
Registered: 2018-11-26
Posts: 3

Re: Problems with API

Hi,

I found the solution, the mistake was the next one, I created an .htaccess file to redirect index.php requests. I don't know why it was producing the error.

I removed this file and all works fine now.

Thanks again.

Last edited by malagutidomp (2018-11-27 07:45:07)

Offline

#7 2018-11-27 10:29:15

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Problems with API

Hi malagutidomp ,
thank you for the updates! I am happy to know you was able to resolve smile

Enjoy your day and live helper chat  wink


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

Board footer