SiteJet API call failed with error code "400"
I have a particular account on our server that cannot use SiteJet, all other accounts have no problem using it. This is the response when trying the create_account call.
First command is the faulty account response with the create_account call.
Second one is on the same server but returns ok.
[root@wh1 ~]# uapi --output=jsonpretty --user=revolutio Sitejet create_account
{
"module" : "Sitejet",
"result" : {
"errors" : [
"The API call failed with error code “400” and response “[]”."
],
"data" : null,
"warnings" : null,
"messages" : null,
"status" : 0,
"metadata" : {}
},
"apiversion" : 3,
"func" : "create_account"
}
[root@wh1 ~]# uapi --output=jsonpretty --user=ha0xn6dkf5 Sitejet create_account
{
"func" : "create_account",
"module" : "Sitejet",
"apiversion" : 3,
"result" : {
"errors" : null,
"data" : {
"key" : "0135XXXXXXXXXXXXXXXXXXXXXX"
},
"warnings" : null,
"messages" : null,
"status" : 1,
"metadata" : {}
}
}
Any ideas?
-
Hey there! When this has happened in the past there has been an issue with the Sitejet API token in /var/cpanel/users for that particular user. There is no way to fix this without submitting a ticket to our team, so could you do that and reference ticket 95246563 so we can get that fixed for you?
0 -
Hello,
I'm having the same problem with a specific user, but I can't open a ticket with the cpanel team, because my license was not purchased directly.
0 -
StoreHosting - you can always contact your host/license provider and they'll be able to help!
0 -
Hello, unfortunately they were unable to help me, they asked me to open a ticket directly with you, as the problem is with SiteJet and not the server.
0 -
Can you email cs@cpanel.net and then we can go from there?
0 -
Sure! Thank you
1
Please sign in to leave a comment.
Comments
6 comments