The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

add_zone_record permission error

Discussion in 'cPanel Developers' started by yingfan, Nov 18, 2010.

  1. yingfan

    yingfan Registered

    Joined:
    Oct 8, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I tried to make an API call (in a CPanel plugin) to add_zone_record, to make a CNAME, and got this error message:
    You do not have permission to read the zone for: x.x.x

    x.x.x is the domain name given.

    However if I try to add the CNAME in CPanel itself, it goes through.
    What would be the possible problems that cause this ?

    Thank yeah
     
  2. cPanelDavidN

    cPanelDavidN Integration Developer
    Staff Member

    Joined:
    Dec 17, 2009
    Messages:
    571
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Do you have any sample code that might help us examine the specifics of why or how this error is getting triggered?

    Regards,
    -DavidN
     
Loading...

Share This Page