최근 검색


최근 검색 없음

Jay Silverio's Avatar

Jay Silverio

가입한 날짜: 2024년 3월 05일

·

마지막 활동: 2024년 3월 05일

팔로잉

0

팔로워

0

총 활동 수

2

투표 수

0

가입 플랜

1

활동 개요

님의 최근 활동 Jay Silverio

Jay Silverio님이 에 게시물을 만듦

게시물 Developer - Zendesk APIs

I started getting 401 error when I make a call to search the articles. I am using oauth token and sending that on the header 'Bearer'. This has worked previously and was able to get results and even tested paging and I see the results in the response. Now I get 401 unauthorized. I even tried regenerating the oauth token.

        $.ajax({
            url: "https://domain.zendesk.com/api/v2/help_center/articles/search.json?query=keyword",
            headers : {
                'Access-Control-Allow-Origin' : "*",
                'Authorization' : "Bearer " + oauth
            },
            data : {
                page : 1,
                per_page : 5,
                scropes: ["read"]
            },
            crossDomain: true,
            dataType: 'jsonp',
            cache: false,
            type: "GET",
            success: function(response) {
                
            },
            error: function(xhr) {
        
            
            }
        }); 

2024년 3월 05일에 게시됨 · Jay Silverio

0

팔로워

2

투표 수

1

댓글