{"record":{"id":"18002e3ebe35b15c","repo":"coollabsio/coolify","slug":"forbidden-18002e","errorCode":null,"errorMessage":"Forbidden","messagePattern":"Forbidden","errorType":"http","errorClass":"HttpException","httpStatus":403,"severity":"error","filePath":"app/Livewire/Destination/Show.php","lineNumber":40,"sourceCode":"    #[Validate(['string', 'required', 'max:255', 'regex:/^[a-zA-Z0-9][a-zA-Z0-9._-]*$/'])]\n    public string $network;\n\n    #[Validate(['string', 'required'])]\n    public string $serverIp;\n\n    public function mount(string $destination_uuid)\n    {\n        try {\n            $destination = find_destination_for_current_team($destination_uuid);\n            if (! $destination) {\n                return redirect()->route('destination.index');\n            }\n            $this->authorize('view', $destination);\n\n            $this->destination = $destination;\n            $this->syncData();\n        } catch (AuthorizationException) {\n            abort(403);\n        } catch (\\Throwable $e) {\n            return handleError($e, $this);\n        }\n    }\n\n    public function syncData(bool $toModel = false)\n    {\n        if ($toModel) {\n            $this->validate();\n            $this->destination->name = $this->name;\n            $this->destination->network = $this->network;\n            $this->destination->server->ip = $this->serverIp;\n            $this->destination->save();\n        } else {\n            $this->name = $this->destination->name;\n            $this->network = $this->destination->network;\n            $this->serverIp = $this->destination->server->ip;\n        }","sourceCodeStart":22,"sourceCodeEnd":58,"githubUrl":"https://github.com/coollabsio/coolify/blob/70b9acc42467278373e00de77abb40684e25b395/app/Livewire/Destination/Show.php#L22-L58","documentation":"Error \"Forbidden\" thrown in coollabsio/coolify.","triggerScenarios":"Thrown at app/Livewire/Destination/Show.php:40 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"70b9acc42467278373e00de77abb40684e25b395","analyzedAt":"2026-08-17T01:41:01.313Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}