Secure settings not all being injected via api proxy



Posted Oct 03, 2021

I'm using client.request() and {{settings.username}} etc in App API requests, however some of my settings simply do not change. If I use small text words like "foxtrot" or "uncle" those words get saved to the settings at least some of the time... but not always. Anything with an email in it doesn't save. Anything with more than 10 characters, or letters and numbers in it, doesn't save, or at least doesn't inject through the proxy.

Why are my settings intermittently going missing at the proxy, or are they going missing on save?  If so why is there not better validation and error reporting on this functionality?  Why am I left to guess what might be happening here?

Setting the settings:

 

The client.request() post data:

 

What's received by the remote server:

 

I've been following the documentation from these locations:

https://developer.zendesk.com/documentation/apps/working-with-data/getting-data-from-an-external-application/#test-and-update-the-app-after-installing-it

https://developer.zendesk.com/documentation/apps/getting-started/how-apps-framework-client-request-works/

https://developer.zendesk.com/api-reference/apps/apps-core-api/client_api/#clientrequestoptions

 


1

8

0 comments

Sign in to leave a comment.

Didn't find what you're looking for?

New post