تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1347 أدوات العرض

i have enterprise account and i want to use API External , when i use it on the Test Enviroment ,it said access Denied .

here is my python script :
import xmlrpc.client
url = 'https://mylink.dev.odoo.com'
db = 'mylink.dev'
username = 'akram.mokhtar@raiftextile.com'

password = 'my api key'
common = xmlrpc.client.ServerProxy('{}/xmlrpc/2/common'.format(url))
uid = common.authenticate(db, username, password, {})
try :    if uid:        print("authentication success")    else:        print("authentication failed")
except Exception as e:    print(f"Error during authentication: {e}")
 
can i know why it said authentication failed ,and how to fix it?

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
فبراير 24
3109
1
مايو 23
2498
1
فبراير 24
2107
0
يناير 24
1506
0
أغسطس 24
1916