Apologies for the cross-post,
I am having an issue with the advanced_update_nameservers command in the
OpenSRS API. Even though I set the cookie successfully and can unlock
the domain, I still get a '415 - Authentication Error' back.
My request (on an unlocked, cookied domain):
<!DOCTYPE OPS_envelope SYSTEM ’ops.dtd’>
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key="cookie">552621828:9708600</item>
<item key="protocol">XCP</item>
<item key="action">advanced_update_nameservers</item>
<item key="attributes">
<dt_assoc>
<item key="op_type">assign</item>
<item key="assign_ns">
<dt_array>
<item key="0">ns.alancode.net</item>
</dt_array>
</item>
</dt_assoc>
</item>
<item key="object">domain</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
OpenSRS replies back with:
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
<header>
<version>0.9</version>
</header>
<body>
<data_block>
<dt_assoc>
<item key="protocol">XCP</item>
<item key="object">DOMAIN</item>
<item key="response_text">Authentication Error.</item>
<item key="action">REPLY</item>
<item key="response_code">415</item>
<item key="support_message"></item>
<item key="is_success">0</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
And does no-matter what I do! Needless to say, the registrant username &
password are correct, the cookie is correctly set & other cookie-based
commands work successfully!
_______________________________________________
domains-dev mailing list
[email protected]
http://discuss.tucows.com/mailman/listinfo/domains-dev