From 4d1698eab50f31910b340d5f92b18b39995d3e2f Mon Sep 17 00:00:00 2001 From: Shmuel Fogel Date: Thu, 18 Apr 2024 11:08:09 +0300 Subject: [PATCH] Update app/controllers/general.php Co-authored-by: Jake Barnby --- app/controllers/general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/general.php b/app/controllers/general.php index a24761d48b..38fc4f22e3 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -365,7 +365,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 Client.' : + 'No Appwrite project was specified. Please specify your Appwrite Project ID in the "x-appwrite-project" header or when you initialize 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 Exception(Exception::PROJECT_RESERVED_PROJECT, $message); }