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;








2















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.



enter image description here



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.



enter image description here



Now the question is from where will I get oauth_token ?










share|improve this question
















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

















2















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.



enter image description here



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.



enter image description here



Now the question is from where will I get oauth_token ?










share|improve this question
















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













2












2








2








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.



enter image description here



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.



enter image description here



Now the question is from where will I get oauth_token ?










share|improve this question
















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.



enter image description here



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.



enter image description here



Now the question is from where will I get oauth_token ?







magento-1.9 customer rest






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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

















  • 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










3 Answers
3






active

oldest

votes


















0














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.






share|improve this answer























  • 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


















0














The URL passed for authorization has to be over https, otherwise you get the error message.



https://magentohost/admin/oauth_authorize





share|improve this answer























  • 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


















0














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
oauth parameters provided



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



enter image description here



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






share|improve this answer























    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
    );



    );













    draft saved

    draft discarded


















    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









    0














    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.






    share|improve this answer























    • 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















    0














    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.






    share|improve this answer























    • 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













    0












    0








    0







    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.






    share|improve this answer













    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.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    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

















    • 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













    0














    The URL passed for authorization has to be over https, otherwise you get the error message.



    https://magentohost/admin/oauth_authorize





    share|improve this answer























    • 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















    0














    The URL passed for authorization has to be over https, otherwise you get the error message.



    https://magentohost/admin/oauth_authorize





    share|improve this answer























    • 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













    0












    0








    0







    The URL passed for authorization has to be over https, otherwise you get the error message.



    https://magentohost/admin/oauth_authorize





    share|improve this answer













    The URL passed for authorization has to be over https, otherwise you get the error message.



    https://magentohost/admin/oauth_authorize






    share|improve this answer












    share|improve this answer



    share|improve this answer










    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

















    • 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











    0














    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
    oauth parameters provided



    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



    enter image description here



    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






    share|improve this answer



























      0














      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
      oauth parameters provided



      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



      enter image description here



      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






      share|improve this answer

























        0












        0








        0







        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
        oauth parameters provided



        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



        enter image description here



        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






        share|improve this answer













        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
        oauth parameters provided



        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



        enter image description here



        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







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 28 '18 at 1:19









        tej-kwekutej-kweku

        33




        33



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Jet Time Laivasto | Lähteet | Aiheesta muualla | NavigointivalikkoJet Time - The CompanyThe CompanyManagementJet Time aloittaa lauantaina Suomi-rekisterissä olevalla Boeing 737 -koneellaJettime Finland Fleet Details and HistoryJettime Fleet Details and HistoryRegional Jet OÜ takes over ATR production for SASJet Time Returns To Its Core BusinessYhtiön kotisivutlaajentamalla

            Olympian arkeologinen museo Sisällysluettelo Historia ja rakennus | Kokoelmat | Lähteet | Aiheesta muualla | Navigointivalikko37°38′36″N, 21°37′46″EInfobox OKArchaeological Museum of Olympia: HistoryArchaeological Museum of Olympia: DescriptionΜουσείο Ιστορίας των Ολυμπιακών Αγώνων της Αρχαιότητας: ΙστορικόArchaeological Museum of Olympia

            Äpy Sisällysluettelo Äpyt kautta historian | Esimerkkejä Äpy-huumorista | Katso myös | Kirjallisuutta | Aiheesta muualla | Navigointivalikkowww.äpy.fi