Error: Response too large | Chainlink function
P粉170438285
2023-09-04 15:16:30
<p>I'm trying to execute a Chainlink Functions request from a smart contract deployed on Polygon Mumbai Testnet.
This is the contract I deployed => here</p>
<p>To obtain the function source code, call <code>zixinToSourceCode</code> with parameter value 4. </p>
<p>My Chainlink function call happens when I call the <code>claimZixin</code> function. </p>
<p>If you look at my event log, you can see that the most recent event, <code>ErrorOccured</code>, was emitted. By decoding the error I get the error response
<strong>Response too large</strong></p>
<p>My function mock works perfectly and returns expected results. </p>
<p>I shortened the length of each string in the source code and the return value of my zixinId 4 is Functions.encodeString("hi")</p>
<p>Please help me</p>
HelloGabriel
I checked your last claim Zixin I noticed the Gas limit is 100000
Have you tried increasing the Gas limit? I suggest you increase it to 300000