Recent searches
No recent searches
Getting Proxy error: Invalid request
Posted Mar 07, 2024
Hi Team,
I am encountering the error "Proxy error: Invalid request" when attempting to create a request to a third-party server.
Manifest code:
Request:
Previously, we were using btoa to encode the API key, and it was working fine.
However, since it is recommended to use secure settings for submitting the app in the marketplace, attempting secure settings throws us an error both locally and in the deployed private app. The Azure API only accepts encoded API keys.
Kindly assist us in resolving this issue.
0
6 comments
Tipene Hughes
Hi Pavithra,
I noticed you're attempting to use secure settings within the manifest file, specifically, under the domainWhitelist property. This is likely causing issues since the setting values won't be inserted by the Zendesk proxy here. To start, I'd suggest updating the domainWhitelist URLs to the correct string values and try again.
Let me know if you have any questions.
Tipene
0
Pavithra Selvaraj
Hi Team,
Thanks for the response.
In manifest i have updated the value like below.
0
Tipene Hughes
One other thing to check, are you running the app locally or is it installed in your Zendesk instance?
0
Pavithra Selvaraj
Hi Tipene,
I have installed app in zendesk account and checking.
0
kami
Gratitude for the update, Pavithra.
Another thing to check, would you say you are running the application locally or is it introduced in your Zendesk occurrence?
0
Brett Bowser
Hey Pavithra Selvaraj , a little late to the party here but another user wanted to point out that the problem is the trailing backslash "/" that was added after the whitelist address. Hope this helps!
0