Hello Zendesk Community,
I'm experiencing a challenge with my two Zendesk apps working in tandem. One app successfully fetches and updates a custom field named 'CustomerID' while the second app is expected to retrieve a phone number using this 'CustomerID' and subsequently update another custom field named 'Phone number'. Unfortunately, the latter step isn't happening as intended.
- The first Zendesk app fetches the 'CustomerID' from an external source and populates a custom field in Zendesk with the same name.
- The second Zendesk app takes this 'CustomerID', makes an API request via an Azure function to another external system, and is expected to retrieve a phone number in response.
- The phone number received should then be used to update the 'Phone number' custom field in Zendesk.
However, I'm encountering a console error suggesting there might be an issue with the format or content of the response:
TypeError: response.json is not a function
Everything works, but updating the 'Phone number' custom field.
To clarify further, the 'CustomerID' is always provided by the first app, so that's not the root of the issue. The challenge seems to arise in the interaction of the second app, the Azure function, and the custom field in Zendesk.
I'm reaching out to the community to see if anyone has faced a similar problem, or if there are insights on what could be causing this inconsistent behavior. Potential solutions or troubleshooting suggestions would be extremely valuable.
Let me know if you want some snippets of the code (either frontend or backend).
댓글을 남기려면 로그인하세요.