Woocommerce API fix


I wrote a piece of javascript to connect to my woocommerce API and display orders. It was working fine until the other day and now I have no idea why it wont work. It returns {"code":"woocommerce_rest_cannot_view","message":"Sorry, you cannot list resources.","data":{"status":401}}

Have triple checked the API keys, created new ones etc, made sure it's enabled etc... Below is the code and any help is greatly appreciated. Thank you.

<!DOCTYPE html>



<script src="[url removed, login to view]"></script>



url: '[url removed, login to view]',

headers: {

'Authorization':'Basic ' + btoa('ck_8537d438d9ca9eb022481b7835c3c0439249b979:cs_3e101a1175b589f26ac26f7fd7d4e758cca3cb1d'),

// 'status':'completed',

// 'Content-Type':'application/json'


method: 'GET',

dataType: 'json',

data: {'status':'processing','per_page':'99'},

success: function(data){

[url removed, login to view](data);






Taidot: AJAX, Javascript, WooCommerce, WordPress

Näytä lisää: composer require automattic/woocommerce, woocommerce api add product, woocommerce rest api v3, woocommerce rest api php, woocommerce rest api example php, woocommerce api for mobile app, woocommerce rest api plugin, woocommerce rest api example, fix problem free net framework v2 , api fix msn, google api key joomla url, firefox api programmierung tiny url, api fix protocol programming forex, google maps api fix, google api fix, soap api fix protocol, forex api fix, google maps api marker popup url, location api fix, using windows api locate firefox url

Tietoa työnantajasta:
( 1 arvostelu ) Avondale Heights, Australia

Projektin tunnus: #16000413

15 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


I am interested to fix the API error issue. I am an API developer by profession. I have more than 5 years experience. I will make sure the best quality service.

$75 AUD 1 päivässä
(63 arvostelua)

A proposal has not yet been provided

$35 AUD 1 päivässä
(24 arvostelua)

Hi I will fix it once you shared the access details. I will give you the long time best support. Please check my profile for more details. Thank you.

$29 AUD 1 päivässä
(56 arvostelua)

Hello sir, I'm currently working with WordPress,Codeigniter,WebDesign,Bootstrap,PHP, PSD to HTML,Angularjs Nodejs and Mongodb. and I have 3+ year of experience in web Development and web design. I'm ready to do thi Lisää

$60 AUD 1 päivässä
(106 arvostelua)

Hello, I am professional in Woo API. I can fix your issue quickly. Please contact me via chat. Best Regards

$100 AUD 1 päivässä
(36 arvostelua)

Shall we try the different authentication method? I am ready to start, let me know when you are ready.

$66 AUD 2 päivässä
(17 arvostelua)

Hello, My name is An. I am Freelancer with 43% Repeat Hire Rate from Vietnam. I found your job post and I’m very interested in your project. I see 401 error and "woocommerce_rest_cannot_view" code, I think the Lisää

$35 AUD 1 päivässä
(11 arvostelua)

My recent projects : [login to view URL] [login to view URL] Please hire to me. I will give positive response.

$25 AUD 1 päivässä
(5 arvostelua)

Hello, Expertise in Javascript with 4 years of experience. I can resolve the issue and fix the bug in your code. If you want to discuss more please come over chat.

$40 AUD 1 päivässä
(3 arvostelua)

Hi, I have read your project requirement for " Woocommerce API fix ". I have skills and experience to do your tasks. Budget and timeline for project would be discussed in quick chat. Choose me for these reason Lisää

$25 AUD 1 päivässä
(3 arvostelua)

Hello, even from your log I can actually tell you what's wrong with your AJAX call and JSON data retrieval. Message me if you need this fixed quickly. Best regards, Igor. Relevant Skills and Experience 9 years of expe Lisää

$25 AUD 1 päivässä
(4 arvostelua)

Dear Sir, I am Aayush Shastri on behalf of Webmuch Software Private Limited. I've experience in woocommerce, so yes definitely I can resolve your issues. Webmuch Software is a SaaS focussed software development s Lisää

$25 AUD 3 päivässä
(3 arvostelua)
$15 AUD 10 päivässä
(0 arvostelua)

Hi there, I can debug the issue for you and get it functional again. We can get started any time you are ready and get this sorted out asap. Let me know if you have any questions. Look forward to hearing from you Lisää

$30 AUD 0 päivässä
(0 arvostelua)
$25 AUD 1 päivässä
(0 arvostelua)