Recent searches


No recent searches

ZAF ZCLI Integration Manifest - Failed to install app: Error creating requirements 500 Internal Server Error



Posted Nov 15, 2022

I'm developing a private Zendesk App and when I try to install the app, I get the error message:

Failed to install app: Error creating requirements
500 Internal Server Error: {
"status" => 500,
"error" => "Internal Server Error"
}

I've isolated the issue to something related to my zendesk channel integration manifest file. The reason I say that is because the app installs fine when I remove:

"channel_integrations": {
  "onboard_zt_channel_integration": {
      "manifest_url": "https://jsonkeeper.com/b/09KA"
  }
},

from my requirements.json. My integration manifest hosted at https://jsonkeeper.com/b/09KA is

{
  "id": "onboard_zt_channel_integration",
  "name": "OB Test Channel",
  "version": "1.2",
  "author": "Onboard RS",
  "push_client_id": "1040093493454",
  "channelback_files": false,
  "create_followup_tickets": false,
  "urls": {
      "admin_ui": "https://2ec0-76-76-244-8.ngrok.io/api/administrativeInterface"
  }
}

I can also confirm that the ngrok url I have set up isn't even getting hit (i.e. It seems that the 500 Server Error is not coming from the app running at the "admin_ui" ngrok URL).

More than debugging this specific issue, there's times where my zcli commands for creating, updating the app, etc. fail, but the error message displayed in the Zendesk UI prints generic error messages that don't provide too much context. I'm just wondering if there is a place I can see more detailed log messages / error messages for further debugging?

Thank you!


0

3

3 comments

This issue is resolved. I was using jsonkeeper.com to temporarily host the json file, and when you visit the URL it says the certificate is valid. However, when you hit https://jsonkeeper.com/b/09KA through postman, you get an error that the SSL Cert isn't valid, I believe this is what was happening. When I self-hosted the integration_manifest.json publicly the app installed fine.

I am still curious if there is a way to view more detailed logs about ZAF errors somewhere for quicker debugging. It would be very useful if there was!

0


image avatar

Christopher Kennedy

Zendesk Developer Advocacy

Hey Nick,
 
I'm glad to hear that you were able to get this resolved.  If you encounter future 500 level errors it may be simplest to contact our Support team from the Get Help option within your Zendesk instance.  Our team would be able to examine logs on our end that may help identify the cause a bit easier.

1


Thank you so much Christopher!

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post