api.py: Server504Error is already hadled by request.submit()

Change-Id: I53a2265c50fceee0fc08455102e942661b3d71c2
Merge "api.py: Server504Error is already hadled by request.submit()"