Rest API 403 Access Denied The 2019 Stack Overflow Developer Survey Results Are InGetting 403 Forbidden response with REST API on CE 1.9.1.0How to get sales with rest API in magento 2?create custom REST API in magentoPhp Magento Api Rest Create Customer Password Issue :Magento 2.1.1 Rest API Update price onlyHaving issue with magento 1.9 with API handlingMagento 1.9 Order Rest API Order DataREST API Access Token Issuescustom REST Api - access denied - programmatically solutionMagento 1.9 - Create order using REST API
How technical should a Scrum Master be to effectively remove impediments?
If a Druid sees an animal’s corpse, can they wild shape into that animal?
What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?
Deal with toxic manager when you can't quit
What is the meaning of Triage in Cybersec world?
Identify boardgame from Big movie
Scaling a graph of a circle and the standard parabola in TikZ
Did 3000BC Egyptians use meteoric iron weapons?
The difference between dialogue marks
Where to refill my bottle in India?
What is the accessibility of a package's `Private` context variables?
Why is the maximum length of OpenWrt’s root password 8 characters?
How can I autofill dates in Excel excluding Sunday?
Return to UK after being refused entry years previously
What do hard-Brexiteers want with respect to the Irish border?
Resizing object distorts it (Illustrator CC 2018)
Is there any way to tell whether the shot is going to hit you or not?
Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?
Multiply Two Integer Polynomials
Is an up-to-date browser secure on an out-of-date OS?
What does ひと匙 mean in this manga and has it been used colloquially?
Does a dangling wire really electrocute me if I'm standing in water?
Is a "Democratic" Feudal System Possible?
How come people say “Would of”?
Rest API 403 Access Denied
The 2019 Stack Overflow Developer Survey Results Are InGetting 403 Forbidden response with REST API on CE 1.9.1.0How to get sales with rest API in magento 2?create custom REST API in magentoPhp Magento Api Rest Create Customer Password Issue :Magento 2.1.1 Rest API Update price onlyHaving issue with magento 1.9 with API handlingMagento 1.9 Order Rest API Order DataREST API Access Token Issuescustom REST Api - access denied - programmatically solutionMagento 1.9 - Create order using REST API
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I testing the REST API with the Fire Fox Rest API Client. But I am getting 403 Access Denined. I have checked with all the permissions as mentioned in the other answers but could not get through. I am new to REST API.

UPDATE 1:
However, by looking at below API, I have not found any information regarding Login.
http://devdocs.magento.com/guides/m1x/api/rest/Resources/resource_customers.html
UPDATE 2:
I am able to get the Login screen as below.

Now the question is from where will I get oauth_token ?
magento-1.9 customer rest
bumped to the homepage by Community♦ 12 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I testing the REST API with the Fire Fox Rest API Client. But I am getting 403 Access Denined. I have checked with all the permissions as mentioned in the other answers but could not get through. I am new to REST API.

UPDATE 1:
However, by looking at below API, I have not found any information regarding Login.
http://devdocs.magento.com/guides/m1x/api/rest/Resources/resource_customers.html
UPDATE 2:
I am able to get the Login screen as below.

Now the question is from where will I get oauth_token ?
magento-1.9 customer rest
bumped to the homepage by Community♦ 12 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
this might be useful for you stackoverflow.com/questions/28045800/…
– Shrikant
Nov 29 '16 at 12:51
@Magento learner : Can you please explain what you did on admin section for api settings please add screen shot with steps
– Ankit Jaiswal
Nov 30 '16 at 4:04
@AnkitJaiswal, I have implemented exactly the same configuration as in inchoo.net/magento/configure-magento-rest-and-oauth-settings
– Magento Learner
Nov 30 '16 at 5:26
@AnkitJaiswal, can you check an update?
– Magento Learner
Nov 30 '16 at 6:03
add a comment |
I testing the REST API with the Fire Fox Rest API Client. But I am getting 403 Access Denined. I have checked with all the permissions as mentioned in the other answers but could not get through. I am new to REST API.

UPDATE 1:
However, by looking at below API, I have not found any information regarding Login.
http://devdocs.magento.com/guides/m1x/api/rest/Resources/resource_customers.html
UPDATE 2:
I am able to get the Login screen as below.

Now the question is from where will I get oauth_token ?
magento-1.9 customer rest
I testing the REST API with the Fire Fox Rest API Client. But I am getting 403 Access Denined. I have checked with all the permissions as mentioned in the other answers but could not get through. I am new to REST API.

UPDATE 1:
However, by looking at below API, I have not found any information regarding Login.
http://devdocs.magento.com/guides/m1x/api/rest/Resources/resource_customers.html
UPDATE 2:
I am able to get the Login screen as below.

Now the question is from where will I get oauth_token ?
magento-1.9 customer rest
magento-1.9 customer rest
edited Nov 30 '16 at 6:03
Magento Learner
asked Nov 29 '16 at 11:01
Magento LearnerMagento Learner
434730
434730
bumped to the homepage by Community♦ 12 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 12 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
this might be useful for you stackoverflow.com/questions/28045800/…
– Shrikant
Nov 29 '16 at 12:51
@Magento learner : Can you please explain what you did on admin section for api settings please add screen shot with steps
– Ankit Jaiswal
Nov 30 '16 at 4:04
@AnkitJaiswal, I have implemented exactly the same configuration as in inchoo.net/magento/configure-magento-rest-and-oauth-settings
– Magento Learner
Nov 30 '16 at 5:26
@AnkitJaiswal, can you check an update?
– Magento Learner
Nov 30 '16 at 6:03
add a comment |
this might be useful for you stackoverflow.com/questions/28045800/…
– Shrikant
Nov 29 '16 at 12:51
@Magento learner : Can you please explain what you did on admin section for api settings please add screen shot with steps
– Ankit Jaiswal
Nov 30 '16 at 4:04
@AnkitJaiswal, I have implemented exactly the same configuration as in inchoo.net/magento/configure-magento-rest-and-oauth-settings
– Magento Learner
Nov 30 '16 at 5:26
@AnkitJaiswal, can you check an update?
– Magento Learner
Nov 30 '16 at 6:03
this might be useful for you stackoverflow.com/questions/28045800/…
– Shrikant
Nov 29 '16 at 12:51
this might be useful for you stackoverflow.com/questions/28045800/…
– Shrikant
Nov 29 '16 at 12:51
@Magento learner : Can you please explain what you did on admin section for api settings please add screen shot with steps
– Ankit Jaiswal
Nov 30 '16 at 4:04
@Magento learner : Can you please explain what you did on admin section for api settings please add screen shot with steps
– Ankit Jaiswal
Nov 30 '16 at 4:04
@AnkitJaiswal, I have implemented exactly the same configuration as in inchoo.net/magento/configure-magento-rest-and-oauth-settings
– Magento Learner
Nov 30 '16 at 5:26
@AnkitJaiswal, I have implemented exactly the same configuration as in inchoo.net/magento/configure-magento-rest-and-oauth-settings
– Magento Learner
Nov 30 '16 at 5:26
@AnkitJaiswal, can you check an update?
– Magento Learner
Nov 30 '16 at 6:03
@AnkitJaiswal, can you check an update?
– Magento Learner
Nov 30 '16 at 6:03
add a comment |
3 Answers
3
active
oldest
votes
Please ensure that your user->role has permission for customer if you are fetching customer
Please go to system->permission->role and add permission for your user role for access.
Thanks, I have given all the access. Also check my update
– Magento Learner
Nov 29 '16 at 13:35
my rest api : 127.0.0.1/anusthana/api/rest/customers return 403 access denied error, but products return wokring -> 127.0.0.1/anusthana/api/rest/products -> working. May i know what is the error? @Murtuza Zabuawala
– zus
Oct 24 '18 at 6:12
add a comment |
The URL passed for authorization has to be over https, otherwise you get the error message.
https://magentohost/admin/oauth_authorize
where should I place this url?
– Magento Learner
Nov 29 '16 at 13:45
in your rest api url bar
– Debasis Chakraborty
Nov 29 '16 at 13:48
Which Data should I pass in the Field Section?
– Magento Learner
Nov 29 '16 at 17:27
172.16.60.51/magento1922/api/rest/customers
– Debasis Chakraborty
Nov 30 '16 at 6:10
use this url : [172.16.60.51/magento1922/api/rest/customers]
– Debasis Chakraborty
Nov 30 '16 at 6:11
|
show 1 more comment
From the screenshot provided, I can see you have not provided the OAuth 1.0 credentials (consumer key & secret, token key & secret) as RESTClient would have shown a red dropdown labelled OAuth 1.0 on the right of Request as in the screenshot below
To enter the OAuth 1.0 credentials, select Authentication from the top menu, then OAuth 1.0. You can then fill in the text boxes with their corresponding credentials and save it by checking Remember this signature

In the Settings tab, change the Signature method to HMAC-SHA1
Then you are good to go.
In case you do not have any OAuth credentials, follow this post by Joshua Austill
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f147986%2frest-api-403-access-denied%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Please ensure that your user->role has permission for customer if you are fetching customer
Please go to system->permission->role and add permission for your user role for access.
Thanks, I have given all the access. Also check my update
– Magento Learner
Nov 29 '16 at 13:35
my rest api : 127.0.0.1/anusthana/api/rest/customers return 403 access denied error, but products return wokring -> 127.0.0.1/anusthana/api/rest/products -> working. May i know what is the error? @Murtuza Zabuawala
– zus
Oct 24 '18 at 6:12
add a comment |
Please ensure that your user->role has permission for customer if you are fetching customer
Please go to system->permission->role and add permission for your user role for access.
Thanks, I have given all the access. Also check my update
– Magento Learner
Nov 29 '16 at 13:35
my rest api : 127.0.0.1/anusthana/api/rest/customers return 403 access denied error, but products return wokring -> 127.0.0.1/anusthana/api/rest/products -> working. May i know what is the error? @Murtuza Zabuawala
– zus
Oct 24 '18 at 6:12
add a comment |
Please ensure that your user->role has permission for customer if you are fetching customer
Please go to system->permission->role and add permission for your user role for access.
Please ensure that your user->role has permission for customer if you are fetching customer
Please go to system->permission->role and add permission for your user role for access.
answered Nov 29 '16 at 13:22
Murtuza ZabuawalaMurtuza Zabuawala
12.7k73362
12.7k73362
Thanks, I have given all the access. Also check my update
– Magento Learner
Nov 29 '16 at 13:35
my rest api : 127.0.0.1/anusthana/api/rest/customers return 403 access denied error, but products return wokring -> 127.0.0.1/anusthana/api/rest/products -> working. May i know what is the error? @Murtuza Zabuawala
– zus
Oct 24 '18 at 6:12
add a comment |
Thanks, I have given all the access. Also check my update
– Magento Learner
Nov 29 '16 at 13:35
my rest api : 127.0.0.1/anusthana/api/rest/customers return 403 access denied error, but products return wokring -> 127.0.0.1/anusthana/api/rest/products -> working. May i know what is the error? @Murtuza Zabuawala
– zus
Oct 24 '18 at 6:12
Thanks, I have given all the access. Also check my update
– Magento Learner
Nov 29 '16 at 13:35
Thanks, I have given all the access. Also check my update
– Magento Learner
Nov 29 '16 at 13:35
my rest api : 127.0.0.1/anusthana/api/rest/customers return 403 access denied error, but products return wokring -> 127.0.0.1/anusthana/api/rest/products -> working. May i know what is the error? @Murtuza Zabuawala
– zus
Oct 24 '18 at 6:12
my rest api : 127.0.0.1/anusthana/api/rest/customers return 403 access denied error, but products return wokring -> 127.0.0.1/anusthana/api/rest/products -> working. May i know what is the error? @Murtuza Zabuawala
– zus
Oct 24 '18 at 6:12
add a comment |
The URL passed for authorization has to be over https, otherwise you get the error message.
https://magentohost/admin/oauth_authorize
where should I place this url?
– Magento Learner
Nov 29 '16 at 13:45
in your rest api url bar
– Debasis Chakraborty
Nov 29 '16 at 13:48
Which Data should I pass in the Field Section?
– Magento Learner
Nov 29 '16 at 17:27
172.16.60.51/magento1922/api/rest/customers
– Debasis Chakraborty
Nov 30 '16 at 6:10
use this url : [172.16.60.51/magento1922/api/rest/customers]
– Debasis Chakraborty
Nov 30 '16 at 6:11
|
show 1 more comment
The URL passed for authorization has to be over https, otherwise you get the error message.
https://magentohost/admin/oauth_authorize
where should I place this url?
– Magento Learner
Nov 29 '16 at 13:45
in your rest api url bar
– Debasis Chakraborty
Nov 29 '16 at 13:48
Which Data should I pass in the Field Section?
– Magento Learner
Nov 29 '16 at 17:27
172.16.60.51/magento1922/api/rest/customers
– Debasis Chakraborty
Nov 30 '16 at 6:10
use this url : [172.16.60.51/magento1922/api/rest/customers]
– Debasis Chakraborty
Nov 30 '16 at 6:11
|
show 1 more comment
The URL passed for authorization has to be over https, otherwise you get the error message.
https://magentohost/admin/oauth_authorize
The URL passed for authorization has to be over https, otherwise you get the error message.
https://magentohost/admin/oauth_authorize
answered Nov 29 '16 at 13:40
Debasis ChakrabortyDebasis Chakraborty
64
64
where should I place this url?
– Magento Learner
Nov 29 '16 at 13:45
in your rest api url bar
– Debasis Chakraborty
Nov 29 '16 at 13:48
Which Data should I pass in the Field Section?
– Magento Learner
Nov 29 '16 at 17:27
172.16.60.51/magento1922/api/rest/customers
– Debasis Chakraborty
Nov 30 '16 at 6:10
use this url : [172.16.60.51/magento1922/api/rest/customers]
– Debasis Chakraborty
Nov 30 '16 at 6:11
|
show 1 more comment
where should I place this url?
– Magento Learner
Nov 29 '16 at 13:45
in your rest api url bar
– Debasis Chakraborty
Nov 29 '16 at 13:48
Which Data should I pass in the Field Section?
– Magento Learner
Nov 29 '16 at 17:27
172.16.60.51/magento1922/api/rest/customers
– Debasis Chakraborty
Nov 30 '16 at 6:10
use this url : [172.16.60.51/magento1922/api/rest/customers]
– Debasis Chakraborty
Nov 30 '16 at 6:11
where should I place this url?
– Magento Learner
Nov 29 '16 at 13:45
where should I place this url?
– Magento Learner
Nov 29 '16 at 13:45
in your rest api url bar
– Debasis Chakraborty
Nov 29 '16 at 13:48
in your rest api url bar
– Debasis Chakraborty
Nov 29 '16 at 13:48
Which Data should I pass in the Field Section?
– Magento Learner
Nov 29 '16 at 17:27
Which Data should I pass in the Field Section?
– Magento Learner
Nov 29 '16 at 17:27
172.16.60.51/magento1922/api/rest/customers
– Debasis Chakraborty
Nov 30 '16 at 6:10
172.16.60.51/magento1922/api/rest/customers
– Debasis Chakraborty
Nov 30 '16 at 6:10
use this url : [172.16.60.51/magento1922/api/rest/customers]
– Debasis Chakraborty
Nov 30 '16 at 6:11
use this url : [172.16.60.51/magento1922/api/rest/customers]
– Debasis Chakraborty
Nov 30 '16 at 6:11
|
show 1 more comment
From the screenshot provided, I can see you have not provided the OAuth 1.0 credentials (consumer key & secret, token key & secret) as RESTClient would have shown a red dropdown labelled OAuth 1.0 on the right of Request as in the screenshot below
To enter the OAuth 1.0 credentials, select Authentication from the top menu, then OAuth 1.0. You can then fill in the text boxes with their corresponding credentials and save it by checking Remember this signature

In the Settings tab, change the Signature method to HMAC-SHA1
Then you are good to go.
In case you do not have any OAuth credentials, follow this post by Joshua Austill
add a comment |
From the screenshot provided, I can see you have not provided the OAuth 1.0 credentials (consumer key & secret, token key & secret) as RESTClient would have shown a red dropdown labelled OAuth 1.0 on the right of Request as in the screenshot below
To enter the OAuth 1.0 credentials, select Authentication from the top menu, then OAuth 1.0. You can then fill in the text boxes with their corresponding credentials and save it by checking Remember this signature

In the Settings tab, change the Signature method to HMAC-SHA1
Then you are good to go.
In case you do not have any OAuth credentials, follow this post by Joshua Austill
add a comment |
From the screenshot provided, I can see you have not provided the OAuth 1.0 credentials (consumer key & secret, token key & secret) as RESTClient would have shown a red dropdown labelled OAuth 1.0 on the right of Request as in the screenshot below
To enter the OAuth 1.0 credentials, select Authentication from the top menu, then OAuth 1.0. You can then fill in the text boxes with their corresponding credentials and save it by checking Remember this signature

In the Settings tab, change the Signature method to HMAC-SHA1
Then you are good to go.
In case you do not have any OAuth credentials, follow this post by Joshua Austill
From the screenshot provided, I can see you have not provided the OAuth 1.0 credentials (consumer key & secret, token key & secret) as RESTClient would have shown a red dropdown labelled OAuth 1.0 on the right of Request as in the screenshot below
To enter the OAuth 1.0 credentials, select Authentication from the top menu, then OAuth 1.0. You can then fill in the text boxes with their corresponding credentials and save it by checking Remember this signature

In the Settings tab, change the Signature method to HMAC-SHA1
Then you are good to go.
In case you do not have any OAuth credentials, follow this post by Joshua Austill
answered Oct 28 '18 at 1:19
tej-kwekutej-kweku
33
33
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f147986%2frest-api-403-access-denied%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
this might be useful for you stackoverflow.com/questions/28045800/…
– Shrikant
Nov 29 '16 at 12:51
@Magento learner : Can you please explain what you did on admin section for api settings please add screen shot with steps
– Ankit Jaiswal
Nov 30 '16 at 4:04
@AnkitJaiswal, I have implemented exactly the same configuration as in inchoo.net/magento/configure-magento-rest-and-oauth-settings
– Magento Learner
Nov 30 '16 at 5:26
@AnkitJaiswal, can you check an update?
– Magento Learner
Nov 30 '16 at 6:03