How to use the formdata in the client request method?

6 Comentarios

  • Greg Katechis
    Zendesk Developer Advocacy
    Hi Balu! The Zendesk client.request method is documented here and shouldn't require much modification, if any, from the above code that you already have in place.
  • Bala

    Hi Greg Katechis,

    Proxy error: {:code=>"UnprocessableEntity", :status=>"422", :title=>"Unprocessable Entity", :message=>"Failed to get installation and oauth information for app."}

    is being encountered when attempting to use the provided code. It appears that FormData needs to be passed in the body of a POST request, but the documentation does not provide guidance on how to do so.

    How should I proceed to resolve this issue?

    let data = new FormData();
        data.append("username", username);
        data.append("key", key);
        data.append("email", email);

        let config = {
          method: "post",
          maxBodyLength: Infinity,
          url: `${shopURL}/index.php?route=zendesk/customer`,
          headers: {
            "Content-Type": "application/x-www-form-urlencoded",
          crossOriginIsolated: true,
          data: JSON.stringify(data),
          secure: true,

        return client.request(config);


    When I passed the build for review process marketplace team rejected it because of security issues, I am using Axios inside the Zendesk SDK, I could not figure it out where is the mistake.


    this is my manifest parameters

  • Bala

    Hi Greg Katechis,

    is there any update on this, how we can proceed?

  • Bala

    Hi Zendesk Team


    Is there any update on this?

  • Bala

    Hi Zendesk Team, 

    Is there any update on this matter?

  • Bala


    Is there any update or progress on the issue we've raised? We greatly value your assistance and insights in helping us resolve this matter.

    Your prompt response and guidance would be greatly appreciated.

    Thank you for your attention.


Iniciar sesión para dejar un comentario.

Tecnología de Zendesk