Posting solution code in a public topic goes against our Community Forum Code of Conduct. It’s okay to share stacktrace on a public post and send code to a mentor via direct message.
Please edit your post.
Here’s a guide on how to edit a post.
Does this help?