Ah i didn't realize that the AJAX call adds a "ubus_rpc_session":"<big
string>" to the ubus call!
I changed how my arguments are handled and now everything works.

Thanks for the pointer!

On Wed, Sep 2, 2015 at 6:00 AM, Jo-Philipp Wich <j...@openwrt.org> wrote:

> Hi,
>
> the number 2 corresponds to "UBUS_STATUS_INVALID_ARGUMENT" so your AJAX
> call is submitting invalid data.
>
> ~ Jow
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to