Concurrent file metadata create calls with same file source path results in 500
During file metadata create flow if concurrent requests with same file source path are made it results in 500 errors, reason being the file gets cleaned up from staging location hence exceptions thrown at cloudStorageOperation.deleteFile(stagingLocation) are handled as generic internal server errors which is not the correct response code
CSPs can handle exceptions in their implementation to throw 4xx exceptions