دعم الموقع

hi im still new to programing so bare with me pls, so everything was working just fine until one day i kept receing invalid api key stauts code 7, i did try it on postman with the same api key and it works but when i try to fecth the api on next js it says the status code 7 dont know if im hitting the rate limit or idk.I know this isnt the best place to ask for tips for like framwokrs and stuff but might as well pls and thank you.

1 رد (على هذه الصفحة 1 من 1)

Jump to last post

Hi @alex-nut82, if your key works in one place and not another, it means there is something wrong with the way you are using it in the second place. You don't have a rate limit problem because that would result in a different status code.

Without more information it is impossible for anyone to determine what is wrong. If you are trying to use the same api URL in both places, then you likely have an error in your code in the second place. My only thought is to try and print (console.log) the URL just before the fetch statement so you can make sure any variables values are what you think they are. For example, if the api key was a variable and was null, that would result in the error you are seeing.

لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها

عام

s ركز شريط البحث
p افتح قائمة الملف الشخصي
esc اغلق النافذة المفتوحة
? افتح نافذة اختصارات لوحة المفاتيح

على كافة صفحات الوسائط

b ارجع للخلف (او للصفحة الام عند التطبيق)
e انتقل لصفحة التعديل

على كافة صفحات موسم المسلسل

(السهم الايمن) انتقل للموسم التالي
(السهم الايسر) انتقل للموسم السابق

على كافة صفحات حلقة المسلسل

(السهم الايمن) انتقل للحلقة التالية
(السهم الايسر) انتقل للحلقة السابقة

على كافة صفحات الصور

a افتح صفحة اضافة الصورة

على كافة صفحات التعديل

t افتح محدد الترجمة
ctrl+ s ارسال النموذج

على صفحات المناقشة

n انشى نقاش جديد
w تبديل حالة المتابعة
p تبديل عام / خاص
c تبديل اغلاق / فتح
a افتح الانشطة
r رد على النقاش
l انتقل لأخر رد
ctrl+ enter أرسل رسالتك
(السهم الايمن) الصفحة التالية
(السهم الايسر) الصفحة السابقة

الاعدادات

هل تريد تقييم او اضافة هذا العنصر للقائمة؟

تسجيل الدخول