added error 507, for testing