Tweaked API error reporting from #2181
Tweaked API error reporting from #2181

digitalocean/netbox,lampwins/netbox,digitalocean/netbox,digitalocean/netbox,lampwins/netbox,digitalocean/netbox,lampwins/netbox,lampwins/netbox