Kevin Lefevre
07/18/2024, 7:31 AMUI Builder/low code
connector development, I am facing an issue regarding query param
special characters auto-escaping (cf screenshot)
How can I force them not to be escaped ?
Example:
• I set owner: (sponsoredAccount:urn%3Ali%3AsponsoredAccount%3A506989960)
, that leads to owner=%28sponsoredAccount%3Aurn%253Ali%253AsponsoredAccount%253A506989960%29
in the final query => not accepted by LinkedIn API
• I would like to keep (
and :
and )
original valuesKevin Lefevre
07/18/2024, 8:08 AMkapa.ai
07/18/2024, 8:08 AMKevin Lefevre
07/18/2024, 8:09 AMUI Builder/low code
connector development, I am facing an issue regarding query param
special characters auto-escaping (cf screenshot)
How can I force them not to be escaped ?Kevin Lefevre
07/18/2024, 8:09 AMowner: (sponsoredAccount:urn%3Ali%3AsponsoredAccount%3A506989960)
, that leads to owner=%28sponsoredAccount%3Aurn%253Ali%253AsponsoredAccount%253A506989960%29
in the final query => not accepted by LinkedIn APIKevin Lefevre
07/18/2024, 8:09 AM(
and :
and )
original valuesKevin Lefevre
07/18/2024, 8:09 AMkapa.ai
07/18/2024, 8:09 AMkapa.ai
07/18/2024, 8:09 AMKevin Lefevre
07/18/2024, 8:10 AMUI Builder/low code
connector development, I am facing an issue regarding query param
special characters auto-escaping (cf screenshot)
How can I force them not to be escaped ?
For instance, I set owner: (sponsoredAccount:urn%3Ali%3AsponsoredAccount%3A506989960)
, that leads to owner=%28sponsoredAccount%3Aurn%253Ali%253AsponsoredAccount%253A506989960%29
in the final query => not accepted by LinkedIn API
I would like to keep (
and :
and )
original valuesKevin Lefevre
07/18/2024, 8:19 AMUI Builder/low code
connector development, I am facing an issue regarding query param
special characters auto-escaping.
For instance, I set owner: (sponsoredAccount:urn%3Ali%3AsponsoredAccount%3A506989960)
as query param, leading to owner=%28sponsoredAccount%3Aurn%253Ali%253AsponsoredAccount%253A506989960%29
in the final query generated, which is not accepted by LinkedIn API. I would like to keep (
and :
and )
original values. How can I force them not to be escaped in the YAML or UI builder?kapa.ai
07/18/2024, 8:19 AMkapa.ai
07/18/2024, 8:19 AM[
, ends with ]
, and the elements are comma-separated. Otherwise, the value is treated as a string and URL-encoded. Unfortunately, there doesn't seem to be a direct way to prevent specific characters from being URL-encoded in the current version of Airbyte's low-code CDK. You might want to follow the progress of the mentioned issue or contribute to the discussion on GitHub. For more complex cases where the API has special requirements that can't be handled by the "Inject Parameter / Parent Key Value into outgoing HTTP Request" option, the [Airbyte documentation](https://docs.airbyte.com/connector-development/connector-builder-ui/partitioning#custom-parameter-injection) suggests disabling injection in the component and using the generic parameter section at the bottom of the stream configuration form to freely configure query parameters, headers, and properties of the JSON body, by using jinja expressions and available variables. However, this might not solve your specific issue with URL encoding. Please note that this information is based on the provided knowledge sources and the current state of Airbyte's low-code CDK. The actual solution might vary depending on the specific requirements of the LinkedIn API and the capabilities of the CDK.