In the Chainlink Functions source, the script makes an HTTP request using:
However, the secrets object will be called undefined due to the missing call to addSecretsReference in the request configuration. Without this, the script cannot access secrets.apiKey, resulting in runtime failure during off-chain computation. The entire oracle request will revert or return an error.
Likelihood:
This is a misconfiguration that will always trigger on execution.
Impact:
The core functionality of the Chainlink Functions-based weather data retrieval is broken, rendering minting or automation logic non-functional.
This issue was confirmed during testing on a testnet, where the computation failed with an error: `Request failed, try checking the params provided.` After investigation, apiKey was undefined
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.