next js support | Community
Skip to main content

next js support

  • April 26, 2023
  • 3 replies
  • 0 views

mahfod

Hello,

I try setup zendesk app with your template, but ZAT not working, i try with zcli but it not work

 

I need help please 😊

 

3 replies

Tipene
  • April 26, 2023

Hey, @mahfod!

What template are you trying to set up the app with? Is it the ZAF scaffold? Also, can you please share any errors you are seeing when going through the setup process.

Thanks!

Tipene


mahfod
  • Author
  • April 26, 2023

@tipene

Hey,

I try with ericagirges/sample-zaf-next 

I've got this error TypeError: client.request is not a function

I follow this step https://developerblog.zendesk.com/getting-started-zaf-next-js-4d1f83dae815

thks 💪


Tipene
  • April 26, 2023
Thanks for the context, Mahfod.
 
Are you trying to run the app directly in your browser or in Zendesk? If you're trying to view it in the browser you will get the error since the client is not being provided the necessary information (origuin, app_guid etc.). This information is provisioned behind the scenes when using the app in Zendesk so you shouldn't see the error there.
 
Let me know if you have any questions!
 
Tipene