Protocols/OSCAR/SNAC/ICBM ERR: Difference between revisions
(Created page with "{{Protocols/OSCAR}} {{Protocols/OSCAR/SNAC/Stats |origin={{Protocols/OSCAR/SNAC/ICBM__ERR/Origin}} |name=ICBM__ERR |id=0x0004, 0x0001 |service={{Protocols/OSCAR/Foodgroups/ICB...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Protocols/OSCAR}} | {{Protocols/OSCAR}} | ||
{{Protocols/OSCAR/SNAC/Stats | {{Protocols/OSCAR/SNAC/Stats | ||
|id=0x0004, 0x0001 | |||
|origin={{Protocols/OSCAR/SNAC/ICBM__ERR/Origin}} | |origin={{Protocols/OSCAR/SNAC/ICBM__ERR/Origin}} | ||
|name=ICBM__ERR | |name=ICBM__ERR | ||
| | |foodgroup=ICBM | ||
|service={{Protocols/OSCAR/Foodgroups/ICBM/Service}} | |service={{Protocols/OSCAR/Foodgroups/ICBM/Service}} | ||
|status={{Protocols/OSCAR/Foodgroups/ICBM/Status}} | |status={{Protocols/OSCAR/Foodgroups/ICBM/Status}} | ||
Line 10: | Line 11: | ||
{{Protocols/OSCAR/SNAC/ICBM__ERR/Description}} | {{Protocols/OSCAR/SNAC/ICBM__ERR/Description}} | ||
== SNAC Header == | |||
{{Protocols/OSCAR/SNAC/Header | {{Protocols/OSCAR/SNAC/Header | ||
|foodgroup=00 04 | |foodgroup=00 04 | ||
|subgroup=00 01 | |subgroup=00 01 | ||
|flags= | |flags=00 00}} | ||
== SNAC Data == | |||
Error code is required, however the TLV chain is optional depending on the error code and/or other information the user needs to be provided. | |||
{| class="wikitable" | {| class="wikitable" | ||
! Name | ! Name | ||
! | ! Length | ||
! Value | |||
! Note | ! Note | ||
|- | |- | ||
| Code | | Code | ||
| uint16 (word) | | uint16 (word) | ||
| ''[Class: [[Protocols/OSCAR/Errors#Class:_ERROR_CODE|ERROR__CODE]]]'' | | xx xx | ||
| ''[Class: [[Protocols/OSCAR/Errors#Class:_ERROR_CODE|ERROR__CODE]]]'' | |||
|- | |- | ||
| | | TLV | ||
| | | blob | ||
| ''[Class: [[Protocols/OSCAR/Errors#TLV_Class:_ERROR_TAGS|ERROR__TAGS]]]'' | | xx .. | ||
| ''[Class: [[Protocols/OSCAR/Errors#TLV_Class:_ERROR_TAGS|ERROR__TAGS]]]'' | |||
|} | |} | ||
=== Class: ICBM__ERROR_SUBCODE === | |||
These are subcodes used with standard errors. | These are subcodes used with standard errors. | ||
Unconfirmed: | |||
2 bytes The error code. | |||
- 0x0004 - User is not availabe (ie. not online). | |||
- 0x0009 - Message type not supported by recipient. | |||
- 0x0010 - Message could not be sent because you have blocked the recipient. (You also get this when you try to send a message to an ICQ user from an AIM account.) | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 112: | Line 112: | ||
| NOT CURRENTLY DOCUMENTED | | NOT CURRENTLY DOCUMENTED | ||
|} | |} | ||
=== From Aleksandr Shutko: SNAC(04,01) ICBM__ERR === | |||
<table width=640 cellSpacing=0 cellPadding=0 border=0> | |||
<tr> | |||
<td> | |||
<br> | |||
This snac mean that server can't send your message to recipient because it invalid, | |||
too large, wrong type or not supported by receiver. See also | |||
[[Protocols/OSCAR/SNAC_04_0a|SNAC(04,0A)]], [[Protocols/OSCAR/SNAC_04_0c|SNAC(04,0C)]] | |||
for more info. Most used error types:<br><br> | |||
<font color=blue>0x04</font> - you are trying to send message to offline client (<span >""</span>)<br> | |||
<font color=blue>0x09</font> - message not supported by client<br> | |||
<font color=blue>0x0E</font> - your message is invalid (incorrectly formated)<br> | |||
<font color=blue>0x10</font> - receiver/sender blocked<br><br> | |||
There is more values. See also error types [[Protocols/OSCAR/Errors|complete list]].<br><br> | |||
<table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr><td bgcolor=#E9E9E9 > | |||
<table width=636 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=169> 00 04</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=55%>SNAC family</td> | |||
</tr> | |||
<tr> | |||
<td> 00 01</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>SNAC subtype</td> | |||
</tr> | |||
<tr> | |||
<td> 00 00</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>SNAC flags</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx xx xx</td> | |||
<td> </td> | |||
<td>dword</td> | |||
<td> </td> | |||
<td>SNAC request-id</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#E9E9E9> | |||
<table width=636 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=169> xx xx</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=55%>error code (see list above)</td> | |||
</tr> | |||
</table> | |||
<!-- TLV 0x08 --> | |||
<table width=630 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr><td height=8 colspan=3></td></tr> | |||
<tr><td width=20> </td> | |||
<td> | |||
<table width=600 bgcolor=darkgreen cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 align=center border=0> <tr><td bgcolor=#f9f9f9 > | |||
<table width=600 cellSpacing=0 cellPadding=0 align=center border=0 > | |||
<tr> | |||
<td width=147> 00 08</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=56%>TLV.Type(0x08) - error subcode, from [[Protocols/OSCAR/TLV#Common_TLVs|tlv tags]] list</td> | |||
</tr> | |||
<tr> | |||
<td> xx xx</td> | |||
<td> </td> | |||
<td>word</td> | |||
<td> </td> | |||
<td>TLV.Length</td> | |||
</tr> | |||
</table> | |||
</td></tr> | |||
<tr><td bgcolor=#f9f9f9> | |||
<table width=600 cellSpacing=0 cellPadding=0 align=center border=0> | |||
<tr> | |||
<td width=147> xx xx</td> | |||
<td width=5> </td> | |||
<td>word</td> | |||
<td width=5> </td> | |||
<td width=56%>error subcode</td> | |||
</tr> | |||
</table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td><td width=5></td></tr> | |||
<tr><td height=5 colspan=3> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
</td></tr></table> | |||
<br>Example SNAC dump with flap header: | |||
<table width=640 bgcolor=darkblue cellSpacing=0 cellPadding=0 border=0><tr><td> | |||
<table width=100% cellSpacing=2 cellPadding=0 border=0><tr> | |||
<td bgcolor=#E9E9E9> | |||
<font size=3><pre style="font-size: 13px"> | |||
2A 02 EF D9 00 0C 00 04 00 01 00 00 00 00 00 14 *............... | |||
00 0E .. | |||
</pre></font> | |||
</td></tr></table> | |||
</td></tr></table> | |||
[[Category:With_Contrib]] | |||
== ICBM SNACs == | |||
{{Protocols/OSCAR/Foodgroups/ICBM/SNACs/Simple}} | {{Protocols/OSCAR/Foodgroups/ICBM/SNACs/Simple}} | ||
Latest revision as of 11:44, 14 February 2021
OSCAR Protocol |
Introduction • Terms • Clients |
Basic |
Datatypes • FLAP • SNAC • TLV |
UUIDs • Errors • Tool IDs |
Host Interaction |
Rate Limits • Migration • Messages |
Other Services |
ADMIN • ADVERT • ALERT |
BART • BOS • BUCP • CHAT |
CHAT_NAV |
Tutorials |
Sign On • BART • Rendezvous |
ICBM • Locate • Buddies |
Foodgroups |
OSERVICE (0x0001) |
LOCATE (0x0002) |
BUDDY (0x0003) |
ICBM (0x0004) |
ADVERT (0x0005) |
INVITE (0x0006) |
ADMIN (0x0007) |
POPUP (0x0008) |
PD (0x0009) |
USER_LOOKUP (0x000A) |
STATS (0x000B) |
TRANSLATE (0x000C) |
CHAT_NAV (0x000D) |
CHAT (0x000E) |
ODIR (0x000F) |
BART (0x0010) |
FEEDBAG (0x0013) |
ICQ (0x0015) |
BUCP (0x0017) |
ALERT (0x0018) |
PLUGIN (0x0022) |
UNNAMED_FG_24 (0x0024) |
MDIR (0x0025) |
ARS (0x044A) |
ID | Origin | Name | Foodgroup | Service | Status | Version |
---|---|---|---|---|---|---|
0x0004, 0x0001 | Any | ICBM__ERR | ICBM | BOS | Active | 1.25 |
This is the error SNAC for the ICBM foodgroup.
SNAC Header
Foodgroup | uint16 (word) | 00 04 |
Subgroup | uint16 (word) | 00 01 |
Flags | uint16 (word) | 00 00 |
Request ID | uint32 (dword) | xx xx xx xx |
SNAC Data
Error code is required, however the TLV chain is optional depending on the error code and/or other information the user needs to be provided.
Name | Length | Value | Note |
---|---|---|---|
Code | uint16 (word) | xx xx | [Class: ERROR__CODE] |
TLV | blob | xx .. | [Class: ERROR__TAGS] |
Class: ICBM__ERROR_SUBCODE
These are subcodes used with standard errors.
Unconfirmed: 2 bytes The error code. - 0x0004 - User is not availabe (ie. not online). - 0x0009 - Message type not supported by recipient. - 0x0010 - Message could not be sent because you have blocked the recipient. (You also get this when you try to send a message to an ICQ user from an AIM account.)
Name | Value | Note |
---|---|---|
ICBM__ERROR_SUBCODE_REMOTE_IM_OFF | 0x01 | Used with NOT_LOGGED_ON |
ICBM__ERROR_SUBCODE_REMOTE_RESTRICTED_BY_PC | 0x02 | Used with NOT_LOGGED_ON; the remote side denied because of parental controls |
ICBM__ERROR_SUBCODE_NEED_SMS_LEGAL_TO_SEND | 0x03 | User tried to send a message to an SMS user and is required to accept the legal text first |
ICBM__ERROR_SUBCODE_SMS_WITHOUT_DISCLAIMER | 0x04 | Client tried to send a message to an SMS user without the character counter being displayed |
ICBM__ERROR_SUBCODE_SMS_COUNTRY_NOT_ALLOWED | 0x05 | Client tried to send a message to an SMS user but the SMS matrix said the country code combination not permitted |
ICBM__ERROR_SUBCODE_SMS_UNKNOWN_COUNTRY | 0x08 | Client tried to send to an SMS user but the server could not determine the country |
ICBM__ERROR_SUBCODE_CANNOT_INITIATE_IM | 0x09 | An IM cannot be initiated by a BOT |
ICBM__ERROR_SUBCODE_IM_NOT_ALLOWED | 0x0A | An IM is not allowed by a consumer BOT to a user |
ICBM__ERROR_SUBCODE_CANNOT_IM_USAGE_LIMITED | 0x0B | An IM is not allowed by a consumer BOT due to reaching a generic usage limit, not common |
ICBM__ERROR_SUBCODE_CANNOT_IM_DUSAGE_LIMITED | 0x0C | An IM is not allowed by a consumer BOT due to reaching the daily usage limit |
ICBM__ERROR_SUBCODE_CANNOT_IM_MUSAGE_LIMITED | 0x0D | An IM is not allowed by consumer BOT due to reaching the monthly usage limit |
ICBM__ERROR_SUBCODE_OFFLINE_IM_NOT_ACCEPTED | 0x0E | User does not accept offline IMs |
ICBM__ERROR_SUBCODE_OFFLINE_IM_EXCEED_MAX | 0x0F | Exceeded max storage limit |
ICBM__ERROR_SUBCODE_NO_ALIAS_MATCH | 0x64 | NOT CURRENTLY DOCUMENTED |
ICBM__ERROR_SUBCODE_MULTI_ALIAS_MATCH | 0x65 | NOT CURRENTLY DOCUMENTED |
From Aleksandr Shutko: SNAC(04,01) ICBM__ERR
0x04 - you are trying to send message to offline client ("") There is more values. See also error types complete list.
|
Example SNAC dump with flap header:
|
ICBM SNACs
|