Logging Prototype using native REST API
https://www.j3ns.de/coding/prototype-error-logging-without-commit-in-al/
There’s probably a better solution so solve this, especially in newer versions. Just use background sessions: https://www.j3ns.de/d365-business-central/api-logging-without-rollback-due-to-hard-errors/