You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You’ve reached your daily request limit. Wait for the quota to reset
15
+
or <LinkComponent>upgrade your plan</LinkComponent> for higher limits.
16
+
</>
17
+
),
18
+
ETIMEOUT: LinkComponent=>(
19
+
<>
20
+
The page took too long to respond. Try again, and if the issue persists{' '}
21
+
<LinkComponent>upgrade</LinkComponent> for extended timeouts.
22
+
</>
23
+
),
24
+
EFATAL: ()=>
25
+
'We couldn\u2019t process this URL. Make sure it points to a valid, publicly accessible page with HTML content. If the issue persists, try a different URL.',
26
+
EPROXYNEEDED: LinkComponent=>(
27
+
<>
28
+
Microlink detected anti-bot protection on this URL.
29
+
<br/>
30
+
Bypassing this restriction requires Microlink's{' '}
31
+
<LinkComponent>PRO plan</LinkComponent>.
32
+
</>
33
+
),
34
+
EMPTY_MARKDOWN: LinkComponent=>(
35
+
<>
36
+
The page may not exist, return empty content, or be behind anti-bot /
37
+
anti-scraping protection. <LinkComponent>Pro plans</LinkComponent> can
38
+
bypass most protections.
39
+
</>
40
+
)
41
+
}
42
+
43
+
exportconstApiErrorTitle=({ code })=>{
44
+
const{ title }=getErrorMeta(code)
45
+
return<>{title}</>
46
+
}
47
+
48
+
exportconstApiErrorBody=({ code, fallback })=>{
49
+
constfragment=FRAGMENTS[code]
50
+
if(!fragment)return<>{fallback||'Something went wrong.'}</>
0 commit comments