Control Web Panel

Developers => Functions => Topic started by: xnooztv on March 16, 2017, 03:21:53 PM

Title: API key dont working
Post by: xnooztv on March 16, 2017, 03:21:53 PM
Hello,
I use WHMCS, and when I put my API key in the hash access (and in the .api_keys file), I can not create an account.

My .api_keys file:

Quote
serveraccesshash:ZcpPJaAaUXQm4y2QYXBH

Is it correct ?
I will change my API key after resolving the issue.

Best regards,
xnooztv.
Title: Re: API key dont working
Post by: robbyq on March 16, 2017, 03:55:19 PM
Hello,
I use WHMCS, and when I put my API key in the hash access (and in the .api_keys file), I can not create an account.

My .api_keys file:

Quote
serveraccesshash:ZcpPJaAaUXQm4y2QYXBH

Is it correct ?
I will change my API key after resolving the issue.

Best regards,
xnooztv.

u try manual? if work manual and it all fine it a problem with a plugin... same problem in the past...
Title: Re: API key dont working
Post by: xnooztv on March 16, 2017, 04:26:37 PM
Yes, i have try manual, the error message is: "Key not set or invalid!"
I do not understand why its not working..
Title: Re: API key dont working
Post by: robbyq on March 16, 2017, 04:41:06 PM
Yes, i have try manual, the error message is: "Key not set or invalid!"
I do not understand why its not working..

http://wiki.centos-webpanel.com/cwp-account-api

try and said if work
Title: Re: API key dont working
Post by: xnooztv on March 17, 2017, 12:05:52 AM
Hello,

I have already followed this documentation and it does not work.
At first, I did not have the file "api_key.conf", I had to create it manually, is this normal?
A screenshot of my file:

(http://image.prntscr.com/image/cd64605979fc451ea16bd9232b3fdfef.png)

Is it correct?

EDIT: I have renamed ".api_keys" to "api_key.conf" and it's not working  :'(
Title: Re: API key dont working
Post by: josemnunez on March 17, 2017, 03:40:59 AM
Greetings, Please try using another key without ":", alfo as well as this

8437r3dffs2FF

And please let me know how it went!
Title: Re: API key dont working
Post by: xnooztv on March 17, 2017, 10:32:14 AM
Hello,

The problem was resolved.
Sure enough, I had to put only the key in the file.

Thanks you very much :)
Title: Re: API key dont working
Post by: robbyq on March 17, 2017, 11:56:38 AM
Hello,

The problem was resolved.
Sure enough, I had to put only the key in the file.

Thanks you very much :)
Greetings, Please try using another key without ":", alfo as well as this

8437r3dffs2FF

And please let me know how it went!

so, plugin work fine no? for test
Title: Re: API key dont working
Post by: xnooztv on March 17, 2017, 01:24:37 PM
Yes, the pluging is working :)
Title: Re: API key dont working
Post by: JCGJR on December 03, 2017, 03:33:45 PM
I cant get it to work.. I have a file called .api_keys it has a softaculous key how do i add a new key for WHMCS?