Invalid Repository URL
invalid-repo-url · 400
رابط الـ repo ليس رابط repo على GitHub، فلم تستطع الـ API قراءة الـ branches الخاصة به ولا إعداداته.
كل الصفحات
الـ repoUrl يعيد إليك القيمة التي رفضت. وGitHub هو المصدر الوحيد الذي يبني منه غيم كلاود.
إضافة إلى الحقول التي في كل خطأ، يضيف هذا النوع repoUrl.
- الرابط يشير إلى host آخر: GitLab أو Bitbucket أو خادم Git خاص بك.
- القيمة
owner/repoوحدها ليست رابطا. - الرابط يشير إلى ملف أو branch داخل الـ repo، وليس إلى الـ repo نفسه.
- أرسل
https://github.com/<owner>/<repo>، ولا شيء بعد الاسم إلا.gitإذا أردت. - اقرأ
repoUrlلترى ما وصل بالضبط، فقد يفسد الـ shell الرابط في الطريق. - وإذا لم يكن الكود على GitHub، فقل ذلك بدل أن تجرب صيغة أخرى.
json
{
"type": "invalid-repo-url",
"title": "Invalid Repository URL",
"detail": "Only GitHub repository URLs are supported (e.g. https://github.com/owner/repo).",
"repoUrl": "https://gitlab.com/acme/storefront",
"requestId": "req-1785231000000-4f7b2c9ae",
"timestamp": "2026-07-28T09:30:00.000Z",
"path": "/v1/git/branches",
"method": "GET",
"instance": "GET /v1/git/branches",
"status": 400,
"docs": "https://ghaym.me/docs/errors/invalid-repo-url"
}