I find your way of working a bit difficult and I have problems with it.
Please donāt create ācodeā with ChatGPT and expect developers to spend their valuable time to help you with fixing the ācodeā. Instead try to invest in your skills and follow our tutorials, so you know what you are doing, and look at existing integrations that you can tweak.
Donāt expect ChatGPT to do the process of āunderstandingā for you and then throw the mess in the forum.
Donāt get me wrong, it is totally welcome to ask questions about coding, but using ChatGPT is not coding.
Maybe you are interested in our tutorials and resources that will help you to get started in our app ecosystem, which you can find here!
edit: sorry, I think I might be too harsh in my tone of voice here. I will open a larger discussion with the community about ChatGPT and if we should allow it or not. No decision to block your question has been made yet. I do wish you all the best of luck with your app and find it cool that you are looking into Nextcloud app development. Apart from linking to the tutorials I have no helpful comments for you to solve your bug.