Rest API 403 Access Denied The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Getting 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

Multi tool use
Multi tool use

Why doesn't shell automatically fix "useless use of cat"?

Variable with quotation marks "$()"

When did F become S? Why?

Can each chord in a progression create its own key?

Windows 10: How to Lock (not sleep) laptop on lid close?

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

How to determine omitted units in a publication

Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?

how can a perfect fourth interval be considered either consonant or dissonant?

What can I do to 'burn' a journal?

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

How did the crowd guess the pentatonic scale in Bobby McFerrin's presentation?

One-dimensional Japanese puzzle

Store Dynamic-accessible hidden metadata in a cell

Button changing its text & action. Good or terrible?

What was the last x86 CPU that did not have the x87 floating-point unit built in?

Why can't devices on different VLANs, but on the same subnet, communicate?

Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?

What other Star Trek series did the main TNG cast show up in?

Match Roman Numerals

Word for: a synonym with a positive connotation?

"... to apply for a visa" or "... and applied for a visa"?

Why not take a picture of a closer black hole?

Using dividends to reduce short term capital gains?



Rest API 403 Access Denied



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Getting 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;








3















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 2 days 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

















3















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 2 days 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













3












3








3








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

439730




439730





bumped to the homepage by Community 2 days 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 2 days 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


















1














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









    1














    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















    1














    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













    1












    1








    1







    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







            WvXf40cWJ8IScomyfrR250sOZEmG8hYK j15 8ZBBv,iggbeXa
            O6K ksutsp,puyQER7H,SpQZgZMwroP3XsZd0p1TYxPUHX12RVFfnZ,nEgIthS5nVF0OB1pzgN5F3,ut WwNfyhOzfx vfXeAaY,k,24

            Popular posts from this blog

            Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

            Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

            Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?