Rest API 403 Access Denied Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?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

Estimated State payment too big --> money back; + 2018 Tax Reform

Limit for e and 1/e

Why does this iterative way of solving of equation work?

Is it possible to ask for a hotel room without minibar/extra services?

Active filter with series inductor and resistor - do these exist?

Why use gamma over alpha radiation?

Notation for two qubit composite product state

Unexpected result with right shift after bitwise negation

How to market an anarchic city as a tourism spot to people living in civilized areas?

What is the electric potential inside a point charge?

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

Replacing HDD with SSD; what about non-APFS/APFS?

What computer would be fastest for Mathematica Home Edition?

Autumning in love

If I can make up priors, why can't I make up posteriors?

Blender game recording at the wrong time

Can a monk deflect thrown melee weapons?

Can a zero nonce be safely used with AES-GCM if the key is random and never used again?

Why does tar appear to skip file contents when output file is /dev/null?

Can smartphones with the same camera sensor have different image quality?

Why is there no army of Iron-Mans in the MCU?

Estimate capacitor parameters

What can I do if my MacBook isn’t charging but already ran out?

Strange behaviour of Check



Rest API 403 Access Denied



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?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
























  • 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
























  • 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












  • 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







            Popular posts from this blog

            Sum ergo cogito? 1 nng

            三茅街道4182Guuntc Dn precexpngmageondP