It looks like you’re encountering a DNS resolution error (getaddrinfo ENOTFOUND api.https) when trying to connect to the Insightly API. This error typically indicates that the domain name in the URL is incorrect or malformed.
Based on the Pipedream documentation for Insightly, the base URL for API requests should be formatted as follows:
Ensure the URL is Correctly Formatted: Make sure that the URL you’re using is correctly formatted. It should not include api.https, but rather https://api.<your_pod>.insightly.com/v3.1/Contacts. Replace <your_pod> with the correct pod value for your Insightly account (e.g., na1).
Verify the Pod Value: Double-check that you’re using the correct pod value. You can find this information in your Insightly account settings or documentation.
Check API Key Configuration: Ensure that the API key is correctly configured in your Pipedream component. If you’ve reset the API key, make sure the new key is updated in your Pipedream account.
Here’s an example of how the Pipedream component should be configured to make a request to the Insightly API:
If you’ve verified all these details and are still encountering issues, it might be helpful to reach out to Pipedream support for further assistance. You can visit Support - Pipedream for more support options.
I’m a bot powered by Pipedream and GPT-4. I’m still learning, so please double-check my answers and code! Learn how to build your own.
Hi @ftwebsolutions, can you doublecheck the value you’re setting for the pod? It should be the portion afterhttps://api. and before .insightly.com/v3.1.
Thanks so much Danny. The issue was with the API. I had to copy it to a notepad before pasting it into Pipedream. I appreciate the help and your response.