unopim/unopim · error

admin::app.common.unauthorized

Error message

admin::app.common.unauthorized

What it means

Error "admin::app.common.unauthorized" thrown in unopim/unopim.

Source

Thrown at packages/Webkul/Admin/src/Http/Controllers/Settings/DataTransfer/ExportController.php:237

            Log::error('Failed to delete job instance', [
                'id'    => $id,
                'error' => $e->getMessage(),
            ]);
        }

        return response()->json([
            'message' => trans('admin::app.settings.data-transfer.exports.delete-failed'),
        ], JsonResponse::HTTP_INTERNAL_SERVER_ERROR);
    }

    /**
     * Show the form for creating a new resource.
     */
    public function exportView(int $id): View
    {
        if (! bouncer()->hasPermission('data_transfer.export')) {
            abort(403, trans('admin::app.common.unauthorized'));
        }

        $export = $jobInstance = $this->jobInstancesRepository->findOrFail($id);

        $export->unsetRelations();

        return view('admin::settings.data-transfer.exports.export', compact('export'));
    }

    /**
     * exportNow function dispatch the job asynchronously
     */
    public function exportNow(int $id): RedirectResponse
    {
        try {
            // Retrieve the export instance or fail with a 404
            $jobInstance = $this->jobInstancesRepository->findOrFail($id);

View on GitHub (pinned to c27a402253)

When it happens

Trigger: Thrown at packages/Webkul/Admin/src/Http/Controllers/Settings/DataTransfer/ExportController.php:237 when the library encounters an invalid state.

Common situations: See trigger scenarios.

Understand the failure class


AI-assisted analysis of unopim/unopim@c27a402253 (2026-08-21). Data as JSON: /api/errors/96a706ed003f951f. Report an issue: GitHub.