Búsquedas recientes
No hay búsquedas recientes

KAZUYUKI NITANAI
Incorporación 27 ene 2025
·
Última actividad 06 mar 2025
Seguimientos
0
Seguidores
0
Actividad total
4
Votos
0
Suscripción
1
RESUMEN DE LA ACTIVIDAD
INSIGNIAS
ARTÍCULOS
PUBLICACIONES
COMENTARIOS DE LA COMUNIDAD
COMENTARIOS DE ARTÍCULOS
RESUMEN DE LA ACTIVIDAD
Última actividad de KAZUYUKI NITANAI
KAZUYUKI NITANAI creó una publicación,
To whom it may concern,
I would like to check something about help center API articles in zendesk.
I exported from salesforce and imported information using help center API articles.
In some cases, the URL created in salesforce is replaced by the zendesk URL.
I would like to avoid this behavior. Is there any way to control this part?
Publicado 06 mar 2025 · KAZUYUKI NITANAI
0
Seguidores
0
Votos
0
Comentarios
KAZUYUKI NITANAI hizo un comentario,
Hi James
I ran cURL and it ran without any problems.
This indicated a problem with the gas, so I checked again,
'contentType': 'application/json',
was incorrect and
'Content-Type': 'application/json',
was the correct way to describe it.
Because of this mistake, subsequent payloads could not recognize it.
The problem has been resolved. Thank you for your cooperation.
Ver comentario · Publicado 03 feb 2025 · KAZUYUKI NITANAI
0
Seguidores
0
Votos
0
Comentarios
KAZUYUKI NITANAI creó una publicación,
Hello everyone,
As you read the following, I am trying to create something in gas that will create articles in the Help Center.
It says that required fields are missing, but what is missing?
Referring URL
https://developer.zendesk.com/api-reference/help_center/help-center-api/articles/
See Create Article
Created program (gas)
*How to execute the API
function zendeskPostArticle() {
var url = 'https://xxxxxxxxx.zendesk.com/api/v2/help_center/ja/sections/**********/articles';
const TOKEN = '********';
const EMAIL = '********';
var postjson = {
"article": {
"body": "Use a tripod",
"locale": "ja",
"permission_group_id": ******,
"title": "Taking photos in low light",
"user_segment_id": *****
},
"notify_subscribers": false
}
var options = {
'method': 'POST',
'headers': {
'Authorization': "Basic " + Utilities.base64Encode(Utilities.newBlob(EMAIL + '/token:' + TOKEN).getBytes()),
'contentType': 'application/json',
'Accept': 'application/json'
},
'payload': JSON.stringify(postjson)
};
var response = UrlFetchApp.fetch(url, options);
var json = JSON.parse(response.getContentText("UTF-8"));
}
The error that occurred:
Exception: Request failed for https://xxxxxxxxx.zendesk.com returned code 400. Truncated server response: Required parameter missing: article
thank you
Editado 27 ene 2025 · KAZUYUKI NITANAI
0
Seguidores
2
Votos
2
Comentarios