最近の検索


最近の検索はありません

Jim Kim's Avatar

Jim Kim

参加日2023年9月07日

·

前回のアクティビティ2023年10月12日

フォロー中

0

フォロワー

0

合計アクティビティ

7

投票

0

受信登録

2

アクティビティの概要

さんの最近のアクティビティ Jim Kim

Jim Kimさんがコメントを作成しました:

コミュニティのコメント Developer - Zendesk Apps Framework (ZAF)

Hi Tipene,

The size of source code prior to zipping is around 300MB, it's node_modules that takes up almost all the size.

zcli apps:clean didn't help in this case.

When I run zcli apps:validate for the project root, it creates a tmp folder with a zip file in the root directory, and the zip file size is about 61.1MB.
This returns the ERR_FR_MAX_BODY_LENGTH_EXCEEDED error.

If I run zcli apps:validate ./dist where all the bundled files are, it creates a zip file in tmp directiory inside the dist folder, and the zip file size is about 328kb.
This returns a plain Error with no details.

Does the apps:validate actually try to upload the zip file? and only from the root directory?

Also when I run apps:update dist without validation, it returns `Fails to upload app ` error, do you know if this is due to the validation error? or actually it's a separate issue?

Thanks in advance Tipene.

コメントを表示 · 投稿日時:2023年10月12日 · Jim Kim

0

フォロワー

0

投票

0

コメント


Jim Kimさんが投稿を作成しました:

投稿 Developer - Zendesk Apps Framework (ZAF)

Hi,

`zcli apps:validate` returns

Error [ERR_FR_MAX_BODY_LENGTH_EXCEEDED]: Request body larger than maxBodyLength limit


Source file size is pretty big but I bundle source file and save to /dist folder which I use to upload. When I zip the /dist folder it's around 250kb though actual source code size is a lot bigger.

And `zcli apps:validate ./dist` also returns

Error

without any further details.

What's guideline for project size?
Or what do you think I'm doing wrong?

 

編集日時:2023年10月12日 · Jim Kim

0

フォロワー

2

投票

3

コメント


Jim Kimさんがコメントを作成しました:

コミュニティのコメント Developer - Zendesk Apps Framework (ZAF)

Actually, I found how to set the value in the `zcli.apps.config.json`, thank you for your help 👍

コメントを表示 · 投稿日時:2023年9月07日 · Jim Kim

0

フォロワー

0

投票

0

コメント


Jim Kimさんがコメントを作成しました:

コミュニティのコメント Developer - Zendesk Apps Framework (ZAF)

Thanks for the suggestion Eric.
Do you know if there's any doc with more details about the `zcli.apps.config.json` e.g. what properties can be added in what format etc.?

コメントを表示 · 投稿日時:2023年9月07日 · Jim Kim

0

フォロワー

0

投票

0

コメント


Jim Kimさんが投稿を作成しました:

投稿 Developer - Zendesk Apps Framework (ZAF)

Hi,

I'm building a support app and I have setup CI/CD pipeline (with zcli apps:update command) and also trying to use JWT token for external request which requires to save a shared secret between the support app and our server side.

When I add a param in the manifest file, it always asks the value again and again whenever it's deployed.
This blocks the whole CD pipeline.
Also tried with no param in the manifest but this deletes the share secret completely.

What the best way to set up the shared secret with CD pipeline?

編集日時:2023年9月07日 · Jim Kim

0

フォロワー

4

投票

4

コメント