Questions tagged [proxy]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
34 views

LWC optional chaining “array?.length' in expression causes output of ”[object Object]"

Context: In my LWC, I have an array that may not be defined, and I want to check its length. So I use the optional chaining arr?.length to not error if the array is undefined. I also want to default ...
0
votes
1answer
33 views

Is it possible to make a synchronous upsert request for multiple records with Salesforce native Ids instead of external Ids?

I'm currently developing a system which, among other things, will act as a proxy for Salesforce's APIs. We may occasionally want/need to send a collection of new and updated data through the proxy ...
0
votes
0answers
44 views

What is lwc doing to custom ES6 Proxies?

The Problem: I am experiencing broken behavior when I pass Proxies as Event details or as public properties. Requirement: they need to wrap a {nested: {value: "Foo"}}. I experienced this ...
1
vote
0answers
1k views

Getting a 404 error while trying to connect backend Api from the Heroku deployed Angular Api

I have successfully deployed my angular app onto Heroku. I have implemented the proxy.conf.json file to connect to the Backend API (which is also deployed in Heroku and its a Java JAX-RS REST API) and ...
0
votes
1answer
70 views

Fetching data from Tempo API fails [closed]

I am trying to fetch data from Tempo API. I added and enabled Tempo URL in Remote Site settings. Now I am making a query to their API and it fails with error Unable to tunnel through proxy. Proxy ...
2
votes
1answer
2k views

Unable to tunnel through proxy. Proxy returns “HTTP/1.1 503 Service Unavailable”

I'm perfoming a HTTP GET callout to an external cURL connected through proxy, using Postman i get the response. However, while making callout from Salesforce, it gives the following error: System....
5
votes
1answer
502 views

How to bypass immutable proxy objects when using an external and old jquery library in LWC

Please note I'm fairly new to LWC and even SalesForce (like barely 2 weeks into it). I'm trying to use SlickGrid with LWC, note that this jQuery lib was created over 10 years ago, and I got that ...
2
votes
0answers
101 views

Local LWC - Proxy Issue

Just getting into LWC and local development, so bear with me. Are there local LWC development proxy settings? I have been looking for a bit, but can't find anything. Basically, I'm getting the ...
5
votes
1answer
8k views

System.CalloutException: Unable to tunnel through proxy. Proxy returns “HTTP/1.1 503 Service Unavailable”

I'm trying to make an HTTP Request to other System. They provided the endpoint URL which contains a Port number. https://Test.com:50001/RESTAP/BGN/PRDV/CREATE When I'm trying to make the request I ...
6
votes
3answers
997 views

How to unproxy LockerService wrapped data for debugging via console.log()?

In Lightning Components I love to use console.log() to get an understanding what is happening. Often there is data shown as "Proxy{}", which looks in the console like this I KNOW that there is fine ...