Recent searches


No recent searches

Pavithra Selvaraj's Avatar

Pavithra Selvaraj

Joined Feb 27, 2024

·

Last activity Mar 15, 2024

Following

0

Followers

0

Total activity

6

Votes

0

Subscriptions

2

ACTIVITY OVERVIEW

Latest activity by Pavithra Selvaraj

Pavithra Selvaraj commented,

Community comment Developer - Zendesk SDKs

Hi Tipene,

I have installed app in zendesk account and checking.

View comment · Posted Mar 15, 2024 · Pavithra Selvaraj

0

Followers

0

Votes

0

Comments


Pavithra Selvaraj commented,

Community comment Developer - Zendesk SDKs

Hi Team,

 

Thanks for the response.

In manifest i have updated the value like below.

 
 
But still facing the same issue in deployed private app.Kindly check below screenshot.
 
 
 
Kindly let us if know if there is any other options to schedule for call with team.It would helpful to resolve issue.
 
Thanks in advance
 
 

View comment · Posted Mar 14, 2024 · Pavithra Selvaraj

0

Followers

0

Votes

0

Comments


Pavithra Selvaraj created a post,

Post Developer - Zendesk SDKs

Hi Team,

I am encountering the error "Proxy error: Invalid request" when attempting to create a request to a third-party server.

Manifest code:

{
  "name": "Sample App",
  "author": {
    "name": "Company1",
    "email": "support@test.in",
    "url": "https://test.in"
  },
  "defaultLocale": "en",
  "private": false,
  "location": {
    "support": {  
      "ticket_sidebar": {    
        "url": "assets/iframe.html",
        "flexible":true,    
        "size": {
          "width": "450px",
          "height": "1500px"
        }
      }
    }
  },
  "parameters": [
      {
        "name": "Zendeskurl",        
        "type": "url",
        "required": true,
        "secure": false  
      },
      {
        "name": "Zendeskemail",        
        "type": "text",
        "required": true,
        "secure": false
      },
      {
        "name": "Zendesktoken",        
        "type": "password",
        "required": true,
        "secure": true
      },  {
        "name": "Azuredevopsurl",        
        "type": "url",
        "required": true
       
      },
      {
        "name": "Azuredevopstoken",        
        "type": "password",
        "required": true,
        "secure": true  
      }
    ],  
 
  "domainWhitelist": ["{{setting.Zendeskurl}}","{{setting.Azuredevopsurl}}"],
  "version": "1.0",
  "frameworkVersion": "2.0"
}

Request:
    var option = {
                type: "GET",
                url: "" + azure_url + "/_apis/projects?api-version=6.0",
                headers: {
                    Authorization: `Basic x:{{setting.Azuredevopstoken}}`,
                },
    accepts: "application/json",
   dataType: 'json',
 contentType: "application/json-patch+json",
 secure: true,
            }            
           
 client.request(option).then(
function (response) {
console.log("response",response);
},
function (error) {
 console.log("error:", error);
}

Previously, we were using btoa to encode the API key, and it was working fine.

However, since it is recommended to use secure settings for submitting the app in the marketplace, attempting secure settings throws us an error both locally and in the deployed private app. The Azure API only accepts encoded API keys.

Kindly assist us in resolving this issue.

Edited Mar 07, 2024 · Pavithra Selvaraj

0

Followers

6

Votes

6

Comments


Pavithra Selvaraj created a post,

Post Developer - Zendesk APIs

Hi Team,

We are trying to access the Azure devops api from Zendesk support app.Kindly refer the below.

We are able to access the api if we use basic authorization.but if we substitute it with {{settings.Azuredevopstoken}} we are unable to perform  btoa.

Error screenshot:

Posted Feb 27, 2024 · Pavithra Selvaraj

0

Followers

3

Votes

0

Comments