Add url and id based error message
Add python-based api tests