Post by ayushpatel » Fri Sep 05, 2025 5:43 pm

The issue i am facing is as follows
I Registered a account on opencart
my domain is : https://ayushpateldemostore.opencart.shop/
when i try to acess login api via this doc of api refernence
https://docs.opencart.com/en-gb/system/users/api/

i am not able to call the login url that generated a session token
code snippet
import requests

s = requests.Session()

username = ''
key=''

response = s.post(
'https://ayushpateldemostore.opencart.sh ... =api/login',
data={'username':username, 'key':key}
).text
print(response)

i get following response
403 Forbidden
{"error":"You do not have permission to access this page."}

i have followed basic trouble shooting of whitelisting ip address but its still gives same error

kindly help me out

Newbie
Online

Posts

Joined
Fri Sep 05, 2025 4:33 pm

Post by OSWorX » Fri Sep 05, 2025 7:17 pm

ayushpatel wrote:
Fri Sep 05, 2025 5:43 pm
The issue i am facing is as follows
I Registered a account on opencart
my domain is : https://ayushpateldemostore.opencart.shop/
Guess you mean OpenCart Cloud ?

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by ayushpatel » Fri Sep 05, 2025 7:22 pm

OSWorX wrote:
Fri Sep 05, 2025 7:17 pm
ayushpatel wrote:
Fri Sep 05, 2025 5:43 pm
The issue i am facing is as follows
I Registered a account on opencart
my domain is : https://ayushpateldemostore.opencart.shop/
Guess you mean OpenCart Cloud ?

i had basically created a trial account via
https://www.opencart.com/index.php?route=common/home

see image attached

Attachments

???
trial_pagess.png
trail page where i created my store

Newbie
Online

Posts

Joined
Fri Sep 05, 2025 4:33 pm

Post by paulfeakins » Fri Sep 05, 2025 10:31 pm

ayushpatel wrote:
Fri Sep 05, 2025 5:43 pm
i have followed basic trouble shooting of whitelisting ip address but its still gives same error

kindly help me out
I don't know what you're trying to do ... but I probably wouldn't do it.

However, if you insist on taking this wacky path, then you should contact OpenCart support: https://www.opencart.com/index.php?rout ... rt/contact

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by OSWorX » Sat Sep 06, 2025 1:06 am

ayushpatel wrote:
Fri Sep 05, 2025 7:22 pm
OSWorX wrote:
Fri Sep 05, 2025 7:17 pm
ayushpatel wrote:
Fri Sep 05, 2025 5:43 pm
The issue i am facing is as follows
I Registered a account on opencart
my domain is : https://ayushpateldemostore.opencart.shop/
Guess you mean OpenCart Cloud ?

i had basically created a trial account via
https://www.opencart.com/index.php?route=common/home
That IS the OPenCart Cloud .. you really should know what you're doing!

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by ayushpatel » Mon Sep 08, 2025 12:48 pm

paulfeakins wrote:
Fri Sep 05, 2025 10:31 pm
ayushpatel wrote:
Fri Sep 05, 2025 5:43 pm
i have followed basic trouble shooting of whitelisting ip address but its still gives same error

kindly help me out
I don't know what you're trying to do ... but I probably wouldn't do it.

However, if you insist on taking this wacky path, then you should contact OpenCart support: https://www.opencart.com/index.php?rout ... rt/contact
Sorry for being little ambigous
After creating my opencart store i want to admin panel
from there i went to System->Users->API
i created an api key there, added ip in allowed ip (see image)
and from there i am trying to use this that key and user as per API given in this documentation
https://docs.opencart.com/en-gb/system/users/api/

but i keep getting error
You do not have permission to access this page.

Attachments

???
api menu.png
api menu where i added api key

Newbie
Online

Posts

Joined
Fri Sep 05, 2025 4:33 pm

Post by ayushpatel » Mon Sep 08, 2025 12:52 pm

OSWorX wrote:
Sat Sep 06, 2025 1:06 am
ayushpatel wrote:
Fri Sep 05, 2025 7:22 pm
OSWorX wrote:
Fri Sep 05, 2025 7:17 pm
ayushpatel wrote:
Fri Sep 05, 2025 5:43 pm
The issue i am facing is as follows
I Registered a account on opencart
my domain is : https://ayushpateldemostore.opencart.shop/
Guess you mean OpenCart Cloud ?

i had basically created a trial account via
https://www.opencart.com/index.php?route=common/home
That IS the OPenCart Cloud .. you really should know what you're doing!
Sorry for being little ambigous
After creating my opencart store i want to admin panel
from there i went to System->Users->API
i created an api key there, added ip in allowed ip (see image)
and from there i am trying to use this that key and user as per API given in this documentation
https://docs.opencart.com/en-gb/system/users/api/

but i keep getting error
You do not have permission to access this page.

Attachments

???
api menu.png

Newbie
Online

Posts

Joined
Fri Sep 05, 2025 4:33 pm
Who is online

Users browsing this forum: ayushpatel and 3 guests