It seems like the script you’ve provided is intended to fetch a PDF report from the SE Ranking API and then export it. However, the script is incomplete as it lacks the proper configuration for the se_ranking_api_key prop within the props object of the component. Let’s complete this script by adding the missing props configuration and ensuring it follows the Pipedream component code structure. import { axios } from "@pipedream/platform"; export default defineComponent({ props: { se_ranking_api_key: { type: "string", label: "SE Ranking API Key", description: "The API key for accessing SE Ranking services.", }, }, async run({ steps, $ }) { const apiKey = this.se_ranking_api_key; if (!apiKey) { throw new Error("API key is not set. Please ensure the SE_Ranking API key is configured correctly in the component props."); } const auditId = steps.SE_Ranking?.$return_value?.auditId; if (!auditId) { throw new Error("auditId is not defined. Ensure the previous step returns the correct auditId."); } async function getAuditReport(auditId) { try { const response = await axios($, { url: `https://api4.seranking.com/audit/${auditId}/report`, responseType: 'arraybuffer', headers: { Authorization: `Token ${apiKey}` } }); if (response) { return response; } else { throw new Error("Invalid response from SE Ranking API when fetching the report"); } } catch (error) { console.error("Error fetching audit report:", error.message); console.error("Error details:", error.response ? error.response.data : 'No response data'); throw error; } } try { const auditReport = await getAuditReport(auditId); $.send.http({ body: auditReport, filename: "audit_report.pdf", contentType: "application/pdf" }); return { auditId, message: "Audit report generated and exported successfully." }; } catch (error) { console.error("Error in main function:", error.message); throw error; } }, }); This script now includes the se_ranking_api_key prop with a proper