Recherches récentes


Pas de recherche récente

Vinh Giang Vovan's Avatar

Vinh Giang Vovan

Adhésion le 16 janv. 2023

·

Dernière activité le 06 févr. 2023

Suivis

0

Abonnés

0

Activité totale

7

Votes

3

Abonnements

2

APERÇU DES ACTIVITÉS

Dernière activité effectuée par Vinh Giang Vovan

Vinh Giang Vovan a ajouté un commentaire,

Commentaire de la communauté Developer - Zendesk APIs

Hi Christopher,
Thank you for asking. We could resolve the issue.
We made a mistake in the json format for the query: 
"comment": "Test",
instead of 
"comment": { "body": "Test" },
We were suprised that this triggered a CORS error rather than some sort of functional "wrong format' error -- which led our investigations in the wrong way in the first place.



Afficher le commentaire · Publication le 19 janv. 2023 · Vinh Giang Vovan

0

Abonnés

0

Votes

0

Commentaire


Vinh Giang Vovan a ajouté un commentaire,

Commentaire de la communauté Developer - Zendesk APIs

Hello, I'm facing the same issue. Did you figure out a solution?
I'm using https://{subdomain}.zendesk.com/api/v2/requests.json without authentication (allowing anonymous requests).

The call is from a regular web page, in javascript, in a similar way to the example above.

I also understand from the documentation that this issue should not happen.

https://developer.zendesk.com/documentation/ticketing/using-the-zendesk-api/making-cross-origin-browser-side-api-requests

Exceptions: A few Zendesk API endpoints don't require any authentication at all. They include the Create Request and Search Articles endpoints. CORS is implemented for these endpoints.

Thank you.

Afficher le commentaire · Publication le 16 janv. 2023 · Vinh Giang Vovan

0

Abonnés

0

Votes

0

Commentaire