Skip to content

Commit 00fa7d1

Browse files
riyasuntwalriyasuntwal
riyasuntwal
authored and
riyasuntwal
committed
corrected redirections and made changes in autofetch notif payload for error
1 parent c2f96fe commit 00fa7d1

File tree

3 files changed

+74
-4
lines changed

3 files changed

+74
-4
lines changed

content/data/account-aggregator/api-integration/consent-flow.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ In the Account Aggregator (AA) ecosystem in India, the multi consent feature all
416416
<tr>
417417
<th>Path</th>
418418
<td>
419-
<code>/v2/consents/consents/collection</code>
419+
<code>/v2/consents/collection</code>
420420
</td>
421421
</tr>
422422
<tr>

content/data/account-aggregator/api-integration/data-apis.mdx

+72-2
Original file line numberDiff line numberDiff line change
@@ -574,11 +574,81 @@ Auto-Fetch data feature aims to absorb this complexity from the FIUs. With Auto-
574574
"success": true,
575575
"data": null,
576576
"error": {
577-
"code": "DataFetchFailure",
578-
"message": "Failed to fetch data after multiple retry attempts due to upstream errors"
577+
"code": "InvalidConsentUse",
578+
"message": "Consent fetch frequency exceeded"
579579
}
580580
}`}
581581
</CodeBlockWithCopy>
582+
<h5>Error codes</h5>
583+
<p>A mapping of error codes and messages</p>
584+
<table>
585+
<tr>
586+
<th>
587+
<strong>Error codes</strong>
588+
</th>
589+
<th>
590+
<strong>Error messages</strong>
591+
</th>
592+
</tr>
593+
<tr>
594+
<td>
595+
<code>InvalidConsentUse</code>
596+
</td>
597+
<td>
598+
<ul>
599+
<li>Consent fetch frequency exceeded</li>
600+
</ul>
601+
</td>
602+
</tr>
603+
<tr>
604+
<td>
605+
<code>InvalidConsentStatus</code>
606+
</td>
607+
<td>
608+
<ul>
609+
<li>Consent for which data fetch has been requested has expired</li>
610+
</ul>
611+
</td>
612+
</tr>
613+
<tr>
614+
<td>
615+
<code>SessionExpired</code>
616+
</td>
617+
<td>
618+
<ul>
619+
<li>Session to fetch data for a session ID has expired</li>
620+
</ul>
621+
</td>
622+
</tr>
623+
<tr>
624+
<td>
625+
<code>ConsentRevoked</code>
626+
</td>
627+
<td>
628+
<ul>
629+
<li>Consent for which data fetch has been requested has been revoked</li>
630+
</ul>
631+
</td>
632+
</tr>
633+
<tr>
634+
<td>
635+
<code>UpstreamServerDown</code>
636+
</td>
637+
<td>
638+
<ul>
639+
<li>Received 500 from upstream AA</li>
640+
</ul>
641+
</td>
642+
</tr>
643+
<tr>
644+
<td>
645+
<code>DataFetchFailure</code>
646+
</td>
647+
<td>
648+
Failed to fetch data after multiple retry attempts due to upstream errors
649+
</td>
650+
</tr>
651+
</table>
582652
</>
583653
),
584654
},

content/data/account-aggregator/fi-data-types.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ We're adding dynamic mock data for more realistic and exhaustive integration tes
294294
</CodeBlockWithCopy>
295295
<Element
296296
as="a"
297-
href="https://specifications.rebit.org.in/api_schema/account_aggregator/documentation/recur_deposit_v1.2.html"
297+
href="https://specifications.rebit.org.in/api_schema/account_aggregator/documentation/recurring_deposit_v1.2.html"
298298
target="_blank"
299299
>
300300
<Button kind="tertiary" padding="nano">

0 commit comments

Comments
 (0)