How does the `server_url` become a `dev_id`?  This doesn't smell right.