When a SQL error occurs in universal you sometimes get a link to the database event log and the live error log. The live error log shows the error, the database event log shows the initial request with a copy statement option. The live error log does not include this copy statement option, which makes sense because this is just a raw error output. However for trouble shooting please add a link to the database event log entry in the error log, so you can copy the code there.

live error log:

database event log:
