API request error code 10

Hello, im getting error code 10 when calling my panel api, thats my code: “hestiaCP - Pastebin.com

wich option should i check to fix that? i have api allowed

Check api options is legacy api enabeld?


all on ig

You should add the ip of the client from where you are trying to connect to use the api to the Allowed IP field. If it is the same machine, add 127.0.0.1 and your public ip to the list.

2 Likes

hello i did what you told me and didnt work

worked, it wasnt mi public ip, was vps ip

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.