Post by brainyprb » Thu Jun 13, 2019 4:24 pm

I am getting the following error while trying to login to opencart api

Notice: Undefined index: api_token in /var/www/html/ on line 8Notice: Undefined variable: config in /var/www/html/ on line 30

I tried using python and also postman, i could not find the issue, it the opencart api code in itself broken ?

Code: Select all

import requests

    s = requests.Session()

    username = 'my_username'

    data={'username':username, 'key':key}
I am expecting to receive token for the logged in session



Thu Aug 17, 2017 2:14 am

Post by straightlight » Thu Jun 13, 2019 9:16 pm

No OC version posted. Forum rules.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

Straightlight Administrator / Quality Assurance Analyst / Programmer

Legendary Member


Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: AndreyPopov and 34 guests