diff --git a/app/controllers/general.php b/app/controllers/general.php index fe956a4fff..83b2f3c7bc 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -364,7 +364,7 @@ App::init() ->action(function (Document $project, Appwrite\Utopia\Request $request) { if ($project->getId() === 'console') { $message = empty($request->getHeader('x-appwrite-project')) ? - 'No Appwrite project was specified. Please specify your Appwrite Project ID in the "x-appwrite-project" header or when you initialize your Appwrite SDK.' : + 'No Appwrite project was specified. Please specify your project ID when initializing your Appwrite SDK.' : 'This endpoint is not available for the console project. The Appwrite Console is a reserved project ID and cannot be used with the Appwrite SDKs and APIs. Please check if your project ID is correct.'; throw new AppwriteException(AppwriteException::GENERAL_ACCESS_FORBIDDEN, $message); }