Ojemine159363Original post
Apple Developer
Hi Appwrite Community. I've got the Problem, that when I want to define my client, it won't work. Can somebody help me?
(Project ID has been removed due to privacy Reasons) 😉
Useful Info:
Xcode 26.0 Beta 3
MacBook Air M3 Midnight M3 16GB RAM
Summary
Developers are advised to initialize the client object using the "new" keyword and then chain the methods to set the endpoint and project. Ensure to use proper syntax for the initialization.
Solution:
```javascript
let client = new Client().setEndpoint('your_endpoint').setProject('your_project');
```