{"__v":47,"_id":"544f953dcf9f860800801525","category":{"__v":1,"_id":"548075cbe291c51a00e7e096","pages":["54807643e291c51a00e7e098"],"project":"542dbe0ecb19820800c1f4d7","version":"542ecc0a6b0eb6080066ca77","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-12-04T14:55:07.077Z","from_sync":false,"order":1,"slug":"overview","title":"REST API"},"is_link":false,"parentDoc":null,"project":"542dbe0ecb19820800c1f4d7","user":"544a586d27b7fc140078db12","version":{"__v":31,"_id":"542ecc0a6b0eb6080066ca77","forked_from":"542dbe0fcb19820800c1f4da","project":"542dbe0ecb19820800c1f4d7","createdAt":"2014-10-03T16:17:14.165Z","releaseDate":"2014-10-03T16:17:14.165Z","categories":["542ecc0a6b0eb6080066ca78","542ef44f6b0eb6080066cb24","543bf3e22a30961a00b66eb3","5446952b82bd7e08002768a0","544821ae8d7af31a00dd41ce","544a7885f1aefa08006efc69","544c758e11845f0e001ed8de","544e5565b80812080035be55","544e558dbd51b9080037f8ca","5450b045a66f020800dba73d","5450eb6aa66f020800dba945","5450f39ea66f020800dba989","5450f877a66f020800dba9cf","54510356a66f020800dbaa17","5451274514af501a00b50c99","54513345a66f020800dbab24","54513cc014af501a00b50d24","54515eec14af501a00b50db9","54519b1d14af501a00b50ea9","54519b2aa66f020800dbacb4","54524f9704160008005b1d27","54538d2308d1800800473d95","54538d420c09721000a06a03","54538e5608d1800800473d9a","5453ea9547c30114004fb375","5453eb12b077c31c00067bcb","5453eb27b077c31c00067bcd","5453ed5db077c31c00067bde","548075cbe291c51a00e7e096","5922fa475c48c70f00f21453","59244fd41e32eb190028ad8d"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-10-28T13:08:13.809Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":true,"api":{"basic_auth":false,"results":{"codes":[]},"settings":"","try":true,"auth":"never","params":[],"url":""},"isReference":false,"order":3,"body":"The following is a list of common Zang notifications and errors you might encounter while building and using your applications. They are conveniently located in _Dashboard > Developers > Notifications_. \n[block:parameters]\n{\n  \"data\": {\n    \"0-0\": \"10000\",\n    \"0-1\": \"**Inbound call received** - This is an INFO notification that is triggered whenever a new inbound call is received.\",\n    \"h-0\": \"Code\",\n    \"h-1\": \"Message\",\n    \"2-0\": \"10004\",\n    \"2-1\": \"**Invalid credentials supplied** - This is an ERROR notification that is triggered whenever access to Zang is forbidden due to invalid or missing credentials. If you receive this notification, be sure to look over your Zang Account SID and Auth Token on the dashboard page.\",\n    \"3-0\": \"10010\",\n    \"3-1\": \"**Password reset requested** - This is an INFO notification that is triggered whenever a password reset is requested. Reset requests can only occur through the website at the account settings dashboard page.\",\n    \"4-0\": \"10011\",\n    \"4-1\": \"**Password was reset** - This is an INFO notification that is triggered whenever your password is successfully reset.\",\n    \"6-0\": \"10020\",\n    \"6-1\": \"**Incoming call rejected due to low balance** - This is an ERROR notification that is triggered whenever an incoming call is rejected due to a low balance on your account.\",\n    \"7-0\": \"10021\",\n    \"7-1\": \"**REST API call rejected due to low balance** - This is an ERROR notification that is triggered whenever an outbound call, initiated via the REST API, is rejected due to a low balance on your account.\",\n    \"8-0\": \"10031\",\n    \"8-1\": \"**Rate could not be found for outbound dial. Contact support** - This is an ERROR notification that is triggered whenever the rate for a FROM number cannot be found. This can be due to the rate for the number not being set yet within our database.\",\n    \"9-0\": \"11100\",\n    \"9-1\": \"**Invalid URL format** - This is an ERROR notification that is triggered whenever a URL is formatted incorrectly.\",\n    \"10-0\": \"11200\",\n    \"10-1\": \"**HTTP retrieval failure** - This is an ERROR notification that is triggered whenever a connection failure occurs between Zang and your service. There can be many reasons for a connection failure, but the most common are: your service is down, a response retrieval took longer than it should have, or your web server returned a 4XX or 5XX HTTP response to Zang.\",\n    \"11-0\": \"12100\",\n    \"11-1\": \"**Document parse failure** - This is an ERROR notification that is triggered whenever the provided XML could not be parsed. There can be many reasons for this error but the most common are: The <Response> element is missing, XML contains an unclosed element, XML contains an unquoted attribute, or XML contains improperly closed elements.\",\n    \"12-0\": \"12105\",\n    \"12-1\": \"**Used Fallback URL due to error with primary URL** - This is an ERROR notification that is triggered whenever the primary URL set for a phone number fails and the fallback URL is used. There can be many reasons for this error but the most common are: The primary URL is invalid or the primary URL went offline.\",\n    \"14-0\": \"12400\",\n    \"14-1\": \"**Internal Failure** - This is an ERROR notification that is triggered whenever an internal error on Zang occurs.\",\n    \"16-0\": \"13226\",\n    \"16-1\": \"**Dial: Destination address is missing** - This is an ERROR notification that is triggered whenever the destination number, for use with the dial element, is missing. Destination numbers must be nested within the <dial> element.\",\n    \"18-0\": \"13420\",\n    \"18-1\": \"**Play: Invalid Content-Type** - This is an ERROR notification that is triggered whenever the content nested within a <Play> element is invalid. The content nested within <Play> must be either the tone_stream verb or a valid URL ending in .mp3.\",\n    \"19-0\": \"13421\",\n    \"19-1\": \"**Play: No file URL provided** - This is an ERROR notification that is triggered whenever an audio file nested within a <Play> element is not located at a valid URL. To nest audio within <Play> you must provide a valid URL ending in .mp3.\",\n    \"20-1\": \"**Say: Invalid text** - This is an ERROR notification that is triggered whenever the text nested within the <Say> element is invalid.\",\n    \"20-0\": \"13520\",\n    \"22-0\": \"13614\",\n    \"22-1\": \"**There is no recording URL available. Recording cannot be transcribed.** - This is an ERROR notification that is triggered whenever a recording transcription fails due to no recording URL being provided.\",\n    \"23-0\": \"14101\",\n    \"23-1\": \"**Invalid \\\"To\\\" attribute** - This is an ERROR notification that is triggered whenever the provided \\\"To\\\" attribute is invalid. When making an output call or sms, be sure the number set as To is a valid, existing number.\",\n    \"24-0\": \"14102\",\n    \"24-1\": \"**Invalid \\\"From\\\" attribute** - This is an ERROR notification that is triggered whenever the provided \\\"From\\\" attribute is invalid. When making an output call or sms, be sure the number set as From is a valid, existing number.\",\n    \"25-0\": \"14103\",\n    \"25-1\": \"**Invalid Body** - This is an ERROR notification that is triggered whenever the nested text of an <Sms> is invalid.\",\n    \"26-0\": \"14160\",\n    \"26-1\": \"**Unable to send SMS. Contact support.** - This is an ERROR notification that is triggered if Zang experiences difficulties sending an SMS.\",\n    \"27-0\": \"14200\",\n    \"27-1\": \"**Only one phone number allowed for trial accounts** - This is an INFO notification which is triggered if you attempt to purchase more than one number while still on a trial account.\",\n    \"28-0\": \"14201\",\n    \"28-1\": \"**Daily spending limit exceeded** - This is an INFO notification which is triggered if you attempt to spend more than the allowed amount while still on a trial account.\",\n    \"1-0\": \"10002\",\n    \"1-1\": \"**Trial account does not support this feature** - This is a ERROR notification which is triggered whenever access to Zang is forbidden due to trial lock. This can be due to the fact that you need to add funds to your account.\",\n    \"5-0\": \"10012\",\n    \"5-1\": \"**Account exists for username** - This is an INFO notification which is triggered whenever username is not available.\",\n    \"13-0\": \"12301\",\n    \"13-1\": \"**Length of the URL is bigger than allowed**\",\n    \"15-0\": \"13224\",\n    \"15-1\": \"**Dial: Invalid phone number** - This is an ERROR notification that is triggered when ever the provided phone number value is invalid (or not included at all). We validate phone numbers by looking at the area code and/or local exchange sections of the phone number.\",\n    \"17-0\": \"13239\",\n    \"17-1\": \"**Dial->User Sorry, this user is not currently reachable in this Application.**\",\n    \"21-0\": \"13530\",\n    \"21-1\": \"**SendFax: Could not fetch fax image**\",\n    \"29-0\": \"20003\",\n    \"29-1\": \"**Permission Denied** - This is an ERROR notification that is triggered if you attempt to access a resource your account does not have permission to.\",\n    \"30-0\": \"20007\",\n    \"30-1\": \"**Username cannot be found** - This is an ERROR notification that is triggered if access to Zang is attempted with a username that does not exist or Zang fails to find it.\",\n    \"34-0\": \"21221\",\n    \"34-1\": \"**Call is not active. Resource access is allowed only for active (live) calls.** - This is an ERROR notification that is triggered when a user attempts to use a REST API method intended for in-progress calls on a call that is not in-progress.\",\n    \"36-0\": \"21227\",\n    \"36-1\": \"**SID Could not be found** - This is an ERROR notification that is triggered whenever the provided SID is missing or invalid.\",\n    \"41-0\": \"21401\",\n    \"41-1\": \"**Invalid Phone Number** - This is an ERROR notification that is triggered whenever the provided phone number is missing or invalid.\",\n    \"42-0\": \"21404\",\n    \"42-1\": \"**Inbound phone numbers not available to trial accounts** - This is an ERROR notification that is triggered whenever an inbound phone number purchase attempt is made while on a trial account.\",\n    \"44-0\": \"21452\",\n    \"44-1\": \"**No phone numbers found in area code** - This is an ERROR notification that is triggered when a user requests to add an incoming phone number with an area code that we do not currently have in stock.\",\n    \"47-0\": \"21601\",\n    \"47-1\": \"**Maximum Unicode SMS body length is 70 characters** - This is an ERROR notification that is triggered when an attempt is made to send SMS messages greater than 70 characters which contain unicode symbols.\",\n    \"48-0\": \"21603\",\n    \"48-1\": \"**'From' phone number is required to send an SMS** - This is an ERROR notification that is triggered whenever the 'From' value is missing when trying to send an SMS.\",\n    \"49-0\": \"21604\",\n    \"49-1\": \"**'To' phone number is required to send an SMS** - This is an ERROR notification which is triggered whenever the 'To' value is missing when trying to send an SMS.\",\n    \"31-0\": \"21211\",\n    \"31-1\": \"**Invalid 'To' Phone Number** - This is an ERROR notification that is triggered when the 'To' number is invalid. Be sure to use a number that is in E.164 format.\",\n    \"32-0\": \"**21212**\",\n    \"32-1\": \"**Invalid 'From' Phone Number**\",\n    \"33-0\": \"**21217**\",\n    \"33-1\": \"**Phone number does not appear to be valid**\",\n    \"35-0\": \"21222\",\n    \"35-1\": \"**Sound effect parameter is out of bounds. Please check documentation for more details**\",\n    \"37-0\": \"21228\",\n    \"37-1\": \"**SID Could not be found in a timely fashion**\",\n    \"38-0\": \"21229\",\n    \"38-1\": \"**Invalid StatusCallback provided. If set, it must be a valid URL**\",\n    \"39-0\": \"21231\",\n    \"39-1\": \"**Invalid FallbackUrl provided. If set, it must be a valid URL**\",\n    \"40-0\": \"21232\",\n    \"40-1\": \"**Invalid HeartbeatUrl provided. If set, it must be a valid URL**\",\n    \"43-0\": \"21408\",\n    \"43-1\": \"**No PhoneNumber or AreaCode POSTed**\",\n    \"45-0\": \"21455\",\n    \"45-1\": \"**Phone number already purchased for another account**\",\n    \"46-0\": \"21508\",\n    \"46-1\": \"**Recording could not be started**\",\n    \"50-0\": \"21605\",\n    \"50-1\": \"**Maximum SMS body length is 160 characters**\",\n    \"51-0\": \"21610\",\n    \"51-1\": \"**Maximum Unicode SMS body length is 70 characters** - This is an ERROR notification that is triggered when an attempt is made to send SMS messages greater than 70 characters which contain unicode symbols.\",\n    \"52-0\": \"30000\",\n    \"52-1\": \"**Low account balance warning** - This is an INFO notification that is triggered whenever an account balance falls below a given threshold.\",\n    \"53-0\": \"30002\",\n    \"53-1\": \"**Payment applied** - This is an INFO notification that is triggered whenever a payment is applied from your Zang account.\",\n    \"54-0\": \"30003\",\n    \"54-1\": \"**Phone number purchased** - This is an INFO notification which is triggered whenever a phone number is successfully purchased from your Zang account.\",\n    \"55-0\": \"30004\",\n    \"55-1\": \"**Could not apply payment for autoreplenish** - This is an INFO notification which is triggered whenever an autoreplenish payment can not be applied. This is usually due to a credit card declination.\",\n    \"56-0\": \"31003\",\n    \"56-1\": \"**Channel purchased** - This is an INFO notification which is triggered whenever a channel is successfully purchased from your Zang account.\",\n    \"57-0\": \"31004\",\n    \"57-1\": \"**The account does not have sufficient funds to allocate this port** - This is an INFO notification which is triggered whenever a channel can not be successfully purchased due to insufficient funds.\",\n    \"58-0\": \"**31006**\",\n    \"58-1\": \"**Your request for lookup has been rejected. Given phone number country code is not supported.**\",\n    \"59-0\": \"**31007**\",\n    \"59-1\": \"**Lookup for specified phone number is not supported**\",\n    \"60-0\": \"**31008**\",\n    \"60-1\": \"**Rate could not be found for requested destination number.**\",\n    \"61-0\": \"**31010**\",\n    \"61-1\": \"**Sorry, we currently do not support that destination for SMS. Please contact support if you need more information.**\",\n    \"62-0\": \"**31016**\",\n    \"62-1\": \"**Requested phone number CNAM details could not be discovered**\",\n    \"63-0\": \"**31019**\",\n    \"63-1\": \"**Credit card has been declined**\",\n    \"64-0\": \"**31020**\",\n    \"64-1\": \"**BNA details could not be discovered for requested phone number**\",\n    \"65-0\": \"**31021**\",\n    \"65-1\": \"**CNAM details could not be discovered for requested phone number**\",\n    \"66-0\": \"**31022**\",\n    \"66-1\": \"**Phone number purchase rejected due to low account balance**\",\n    \"67-0\": \"**31023**\",\n    \"67-1\": \"**Invalid Nickname provided. You need to provide nickname in order to generate application client token**\",\n    \"68-0\": \"**32000**\",\n    \"68-1\": \"**Invalid source number provided**\",\n    \"69-0\": \"**32001**\",\n    \"69-1\": \"**Invalid destination number provided**\",\n    \"70-0\": \"**32002**\",\n    \"70-1\": \"**Sending SMS rejected due to low account balance**\",\n    \"73-0\": \"40005\",\n    \"73-1\": \"**Bad XML at SMS Request URL** - This is an ERROR notification which is triggered if the InboundXML document provided for an SMS request URL contains errors.\",\n    \"71-0\": \"40000\",\n    \"71-1\": \"**Inbound SMS Received** - This is an INFO notification which is triggered to let you known an SMS has successfully been delivered.\",\n    \"72-0\": \"**40003**\",\n    \"72-1\": \"**Source number (From) cannot be the same as destination number (To).**\",\n    \"74-0\": \"50001\",\n    \"74-1\": \"**Trunk does not allow IncomingNumber to be assigned to it. Prefix not allowed.** - This is an ERROR notification which is triggered whenever an attempt at assigning an incoming number to a channel is made.\",\n    \"75-0\": \"50005\",\n    \"75-1\": \"**Fatal error transcribing audio** - This is an ERROR notification which is triggered if something wrong while transcribing audio.\",\n    \"76-0\": \"**50006**\",\n    \"76-1\": \"**Fatal error transcribing audio due to missing or invalid media url**\",\n    \"77-0\": \"**50007**\",\n    \"77-1\": \"**Internal error playing sound**\",\n    \"78-0\": \"**50008**\",\n    \"78-1\": \"**Cannot play sound to inactive call**\",\n    \"79-0\": \"60000\",\n    \"79-1\": \"**POST, PUT, DELETE methods are not allowed** - This is an ERROR notification which is triggered if an attempt at performing a POST, PUT, or DELETE method is made on a resource that does not allow them.\",\n    \"80-0\": \"60001\",\n    \"80-1\": \"**Only POST method is allowed** - This is an ERROR notification which is triggered if an attempt at performing any method other than POST is made on a resource only allows POST.\",\n    \"81-0\": \"61000\",\n    \"81-1\": \"**Invalid Member ID** - This is an ERROR notification which is triggered if the Memeber ID attribute provided when interacting with or creating the Conference resource in either our REST API or in InboundXML.\",\n    \"82-0\": \"61002\",\n    \"82-1\": \"**Conference with specified name cannot be found** - This is an ERROR notification which is triggered if the provided conference name is invalid when looking up conferences through our REST API.\",\n    \"83-0\": \"61003\",\n    \"83-1\": \"**Invalid or missing Play URL** - This is an ERROR notification which is triggered if the Play URL is missing.\",\n    \"84-0\": \"**62001**\",\n    \"84-1\": \"**Invalid password provided. Please make sure to pass valid password in order to create SIP credential**\",\n    \"85-0\": \"**62002**\",\n    \"85-1\": \"**SIP credential for specified username already exist. Please pick different username.**\",\n    \"86-0\": \"**62006**\",\n    \"86-1\": \"**Domain name is not valid. Please make sure domain name is set and contains only letters, digits and/or dash**\",\n    \"87-0\": \"**62013**\",\n    \"87-1\": \"**Credential list is already assigned to domain.**\",\n    \"88-0\": \"70001\",\n    \"88-1\": \"**Country could not be authorized** - This is an ERROR notification which is triggered if Zang encounters difficulty finding a country that a user is attempting to authorize.\",\n    \"89-0\": \"70002\",\n    \"89-1\": \"**Requested country is not supported** - This is an ERROR notification which is triggered if a user is attempting to request Zang interaction in an unsupported country.\",\n    \"90-0\": \"70003\",\n    \"90-1\": \"**Requested country is already blocked** - This is an ERROR notification which is triggered if a user is attempting to block a previously blocked country.\",\n    \"91-0\": \"70004\",\n    \"91-1\": \"**Country could not be removed from whitelisted destinations** - This is an ERROR notification which is triggered if Zang is unable to remove a country from the destination whitelist.\",\n    \"92-0\": \"70005\",\n    \"92-1\": \"**Outbound call you are trying to make costs more than allowed** - This is an ERROR notification which is triggered when a user is attempting to make a call that costs more than the allowed value.\",\n    \"93-0\": \"70006\",\n    \"93-1\": \"**You do not have permission to place this call** - This is an ERROR notification which is triggered when a user is attempting to make a call with insufficient permission.\",\n    \"94-0\": \"70007\",\n    \"94-1\": \"**Country added to blacklisted destinations** - This is an INFO notification which is triggered when a country is successfully added as a blacklisted destination.\",\n    \"95-0\": \"70010\",\n    \"95-1\": \"**Calls to mobile numbers are disabled by fraud system** - This is an ERROR notification which is triggered when a call to a mobile number in a blocked or unauthorized destination is attempted.**\",\n    \"96-0\": \"70010\",\n    \"96-1\": \"**Calls to landline numbers are disabled by fraud system** - This is an ERROR notification which is triggered when a call to a landline number in a blocked or unauthorized destination is attempted.\",\n    \"97-0\": \"70012\",\n    \"97-1\": \"**Authorization has expired and destination has returned to fully blocked status. Call rejected.** - This is an ERROR notification which is triggered when a call to a previously authorized destination is attempted after the authorization period has expired.\",\n    \"98-0\": \"70013\",\n    \"98-1\": \"**The destination you are trying to call is blocked by fraud system. Please visit http://www.zang.io/fraud-control if you want to authorize or whitelist a destination.** - This is an ERROR notification which is triggered when a call to a blocked destination is attempted.\",\n    \"99-0\": \"70014\",\n    \"99-1\": \"**You do not have privileges to alter selected destination. Please contact support.** - This is an ERROR notification which is triggered when a user attempts to alter a destination that has been permanently blacklisted by our system.\",\n    \"100-0\": \"70100\",\n    \"100-1\": \"**Location lookup record for specified phone number cannot be found. Forgot to optin phone number?** - This is an error notification which occurs when attempting to perform a location lookup on phone numbers which have not opted into provide their location.\",\n    \"101-0\": \"70101\",\n    \"101-1\": \"**Location optin is already requested. Location Optin rejected.** - This is an error notification which occurs when attempting to perform a location lookup on phone numbers which have rejected a previously requested optin.\",\n    \"102-0\": \"70102\",\n    \"102-1\": \"**Invalid phone number. The phone number corresponds to a land line** - This is an error notification which occurs when attempting to perform a location lookup on landline phone numbers.\",\n    \"103-0\": \"70103\",\n    \"103-1\": \"**This phone has already successfully opted in to the location service.** - This is an error notification which occurs when attempting a location opt in request on a number that has already previously opted in.\",\n    \"104-0\": \"70500\",\n    \"104-1\": \"**Please provide a valid FriendlyName.** - This is an ERROR notification which is triggered when attempting to create or update a connect application with an invalid friendlyname.\",\n    \"105-0\": \"70501\",\n    \"105-1\": \"**Please provide a valid CompanyName.** - This is an ERROR notification which is triggered when attempting to create or update a connect application with an invalid CompanyName.\",\n    \"106-0\": \"70502\",\n    \"106-1\": \"**Please provide a valid LogoUrl.** - This is an ERROR notification which is triggered when attempting to create or update a connect application with an invalid logo URL.\",\n    \"107-0\": \"70503\",\n    \"107-1\": \"**Please provide a valid HomepageUrl.** - \\n\\nThis is an ERROR notification which is triggered when attempting to create or update a connect application with an invalid homepage URL.\",\n    \"108-0\": \"70504\",\n    \"108-1\": \"**Please provide a valid TosUrl.** - This is an ERROR notification which is triggered when attempting to create or update a connect application with an invalid terms of service URL.\",\n    \"109-0\": \"70505\",\n    \"109-1\": \"**Please provide a valid AuthorizeUrl.** - This is an ERROR notification which is triggered when attempting to create or update a connect application with an invalid authorize URL.\",\n    \"110-0\": \"70506\",\n    \"110-1\": \"**Please provide a valid DeauthorizeUrl.** - This is an ERROR notification which is triggered when attempting to create or update a connect application with an invalid deauthorize URL.\",\n    \"111-0\": \"70507\",\n    \"111-1\": \"**Permission denied! You cannot authorize yourself against your connect application.** - This is an ERROR notification which is triggered when attempting to authorize a connect application with the account that owns it.\",\n    \"112-0\": \"70508\",\n    \"112-1\": \"**Permission denied! You've already authorized this connect application.** - This is an ERROR notification which is triggered when attempting to authorize a connect application which has already been authorized on the account.\",\n    \"113-0\": \"70509\",\n    \"113-1\": \"**In order to deauthorize you must first authorize this connect application.** - This is an ERROR notification which is triggered when attempting to deauthorize a connect application which has not yet been authorized on the account.\",\n    \"114-0\": \"70510\",\n    \"114-1\": \"**Connect user access improperly configured. Please make sure all required keys are set when attempting to connect with Zang helpers!** - This is an ERROR notification which is triggered when attempting to access a Zang connect user with invalid access keys set.\",\n    \"115-0\": \"70511\",\n    \"115-1\": \"**Zang connect user did not grant the required permissions to access that resource.** - This is an ERROR notification which is triggered when a Zang connect app attempts to access a users resources which require permissions the app has not been granted.\",\n    \"116-0\": \"70512\",\n    \"116-1\": \"**Permission denied! You cannot access the requested resource as a Zang connect user!** - This is an ERROR notification which is triggered when a Zang connect app attempts to access a users resources which are forbidden to connect apps.\",\n    \"117-0\": \"80000\",\n    \"117-1\": \"**You don't have permission to send SMS to requested destination ( 'TO' ) number. The customer has requested not to receive messages from your account.** - This is an ERROR notification which is triggered when an attempt is made to send SMS messages to recipients which have invoked the default SMS unsubscribe option Zang provides.\",\n    \"118-0\": \"**80001**\",\n    \"118-1\": \"**You don't have permission to send SMS to requested destination ( 'TO' ) number. During trial only destinations to US are allowed**\"\n  },\n  \"cols\": 2,\n  \"rows\": 119\n}\n[/block]","excerpt":"","slug":"errors","type":"basic","title":"Notifications"}
The following is a list of common Zang notifications and errors you might encounter while building and using your applications. They are conveniently located in _Dashboard > Developers > Notifications_. [block:parameters] { "data": { "0-0": "10000", "0-1": "**Inbound call received** - This is an INFO notification that is triggered whenever a new inbound call is received.", "h-0": "Code", "h-1": "Message", "2-0": "10004", "2-1": "**Invalid credentials supplied** - This is an ERROR notification that is triggered whenever access to Zang is forbidden due to invalid or missing credentials. If you receive this notification, be sure to look over your Zang Account SID and Auth Token on the dashboard page.", "3-0": "10010", "3-1": "**Password reset requested** - This is an INFO notification that is triggered whenever a password reset is requested. Reset requests can only occur through the website at the account settings dashboard page.", "4-0": "10011", "4-1": "**Password was reset** - This is an INFO notification that is triggered whenever your password is successfully reset.", "6-0": "10020", "6-1": "**Incoming call rejected due to low balance** - This is an ERROR notification that is triggered whenever an incoming call is rejected due to a low balance on your account.", "7-0": "10021", "7-1": "**REST API call rejected due to low balance** - This is an ERROR notification that is triggered whenever an outbound call, initiated via the REST API, is rejected due to a low balance on your account.", "8-0": "10031", "8-1": "**Rate could not be found for outbound dial. Contact support** - This is an ERROR notification that is triggered whenever the rate for a FROM number cannot be found. This can be due to the rate for the number not being set yet within our database.", "9-0": "11100", "9-1": "**Invalid URL format** - This is an ERROR notification that is triggered whenever a URL is formatted incorrectly.", "10-0": "11200", "10-1": "**HTTP retrieval failure** - This is an ERROR notification that is triggered whenever a connection failure occurs between Zang and your service. There can be many reasons for a connection failure, but the most common are: your service is down, a response retrieval took longer than it should have, or your web server returned a 4XX or 5XX HTTP response to Zang.", "11-0": "12100", "11-1": "**Document parse failure** - This is an ERROR notification that is triggered whenever the provided XML could not be parsed. There can be many reasons for this error but the most common are: The <Response> element is missing, XML contains an unclosed element, XML contains an unquoted attribute, or XML contains improperly closed elements.", "12-0": "12105", "12-1": "**Used Fallback URL due to error with primary URL** - This is an ERROR notification that is triggered whenever the primary URL set for a phone number fails and the fallback URL is used. There can be many reasons for this error but the most common are: The primary URL is invalid or the primary URL went offline.", "14-0": "12400", "14-1": "**Internal Failure** - This is an ERROR notification that is triggered whenever an internal error on Zang occurs.", "16-0": "13226", "16-1": "**Dial: Destination address is missing** - This is an ERROR notification that is triggered whenever the destination number, for use with the dial element, is missing. Destination numbers must be nested within the <dial> element.", "18-0": "13420", "18-1": "**Play: Invalid Content-Type** - This is an ERROR notification that is triggered whenever the content nested within a <Play> element is invalid. The content nested within <Play> must be either the tone_stream verb or a valid URL ending in .mp3.", "19-0": "13421", "19-1": "**Play: No file URL provided** - This is an ERROR notification that is triggered whenever an audio file nested within a <Play> element is not located at a valid URL. To nest audio within <Play> you must provide a valid URL ending in .mp3.", "20-1": "**Say: Invalid text** - This is an ERROR notification that is triggered whenever the text nested within the <Say> element is invalid.", "20-0": "13520", "22-0": "13614", "22-1": "**There is no recording URL available. Recording cannot be transcribed.** - This is an ERROR notification that is triggered whenever a recording transcription fails due to no recording URL being provided.", "23-0": "14101", "23-1": "**Invalid \"To\" attribute** - This is an ERROR notification that is triggered whenever the provided \"To\" attribute is invalid. When making an output call or sms, be sure the number set as To is a valid, existing number.", "24-0": "14102", "24-1": "**Invalid \"From\" attribute** - This is an ERROR notification that is triggered whenever the provided \"From\" attribute is invalid. When making an output call or sms, be sure the number set as From is a valid, existing number.", "25-0": "14103", "25-1": "**Invalid Body** - This is an ERROR notification that is triggered whenever the nested text of an <Sms> is invalid.", "26-0": "14160", "26-1": "**Unable to send SMS. Contact support.** - This is an ERROR notification that is triggered if Zang experiences difficulties sending an SMS.", "27-0": "14200", "27-1": "**Only one phone number allowed for trial accounts** - This is an INFO notification which is triggered if you attempt to purchase more than one number while still on a trial account.", "28-0": "14201", "28-1": "**Daily spending limit exceeded** - This is an INFO notification which is triggered if you attempt to spend more than the allowed amount while still on a trial account.", "1-0": "10002", "1-1": "**Trial account does not support this feature** - This is a ERROR notification which is triggered whenever access to Zang is forbidden due to trial lock. This can be due to the fact that you need to add funds to your account.", "5-0": "10012", "5-1": "**Account exists for username** - This is an INFO notification which is triggered whenever username is not available.", "13-0": "12301", "13-1": "**Length of the URL is bigger than allowed**", "15-0": "13224", "15-1": "**Dial: Invalid phone number** - This is an ERROR notification that is triggered when ever the provided phone number value is invalid (or not included at all). We validate phone numbers by looking at the area code and/or local exchange sections of the phone number.", "17-0": "13239", "17-1": "**Dial->User Sorry, this user is not currently reachable in this Application.**", "21-0": "13530", "21-1": "**SendFax: Could not fetch fax image**", "29-0": "20003", "29-1": "**Permission Denied** - This is an ERROR notification that is triggered if you attempt to access a resource your account does not have permission to.", "30-0": "20007", "30-1": "**Username cannot be found** - This is an ERROR notification that is triggered if access to Zang is attempted with a username that does not exist or Zang fails to find it.", "34-0": "21221", "34-1": "**Call is not active. Resource access is allowed only for active (live) calls.** - This is an ERROR notification that is triggered when a user attempts to use a REST API method intended for in-progress calls on a call that is not in-progress.", "36-0": "21227", "36-1": "**SID Could not be found** - This is an ERROR notification that is triggered whenever the provided SID is missing or invalid.", "41-0": "21401", "41-1": "**Invalid Phone Number** - This is an ERROR notification that is triggered whenever the provided phone number is missing or invalid.", "42-0": "21404", "42-1": "**Inbound phone numbers not available to trial accounts** - This is an ERROR notification that is triggered whenever an inbound phone number purchase attempt is made while on a trial account.", "44-0": "21452", "44-1": "**No phone numbers found in area code** - This is an ERROR notification that is triggered when a user requests to add an incoming phone number with an area code that we do not currently have in stock.", "47-0": "21601", "47-1": "**Maximum Unicode SMS body length is 70 characters** - This is an ERROR notification that is triggered when an attempt is made to send SMS messages greater than 70 characters which contain unicode symbols.", "48-0": "21603", "48-1": "**'From' phone number is required to send an SMS** - This is an ERROR notification that is triggered whenever the 'From' value is missing when trying to send an SMS.", "49-0": "21604", "49-1": "**'To' phone number is required to send an SMS** - This is an ERROR notification which is triggered whenever the 'To' value is missing when trying to send an SMS.", "31-0": "21211", "31-1": "**Invalid 'To' Phone Number** - This is an ERROR notification that is triggered when the 'To' number is invalid. Be sure to use a number that is in E.164 format.", "32-0": "**21212**", "32-1": "**Invalid 'From' Phone Number**", "33-0": "**21217**", "33-1": "**Phone number does not appear to be valid**", "35-0": "21222", "35-1": "**Sound effect parameter is out of bounds. Please check documentation for more details**", "37-0": "21228", "37-1": "**SID Could not be found in a timely fashion**", "38-0": "21229", "38-1": "**Invalid StatusCallback provided. If set, it must be a valid URL**", "39-0": "21231", "39-1": "**Invalid FallbackUrl provided. If set, it must be a valid URL**", "40-0": "21232", "40-1": "**Invalid HeartbeatUrl provided. If set, it must be a valid URL**", "43-0": "21408", "43-1": "**No PhoneNumber or AreaCode POSTed**", "45-0": "21455", "45-1": "**Phone number already purchased for another account**", "46-0": "21508", "46-1": "**Recording could not be started**", "50-0": "21605", "50-1": "**Maximum SMS body length is 160 characters**", "51-0": "21610", "51-1": "**Maximum Unicode SMS body length is 70 characters** - This is an ERROR notification that is triggered when an attempt is made to send SMS messages greater than 70 characters which contain unicode symbols.", "52-0": "30000", "52-1": "**Low account balance warning** - This is an INFO notification that is triggered whenever an account balance falls below a given threshold.", "53-0": "30002", "53-1": "**Payment applied** - This is an INFO notification that is triggered whenever a payment is applied from your Zang account.", "54-0": "30003", "54-1": "**Phone number purchased** - This is an INFO notification which is triggered whenever a phone number is successfully purchased from your Zang account.", "55-0": "30004", "55-1": "**Could not apply payment for autoreplenish** - This is an INFO notification which is triggered whenever an autoreplenish payment can not be applied. This is usually due to a credit card declination.", "56-0": "31003", "56-1": "**Channel purchased** - This is an INFO notification which is triggered whenever a channel is successfully purchased from your Zang account.", "57-0": "31004", "57-1": "**The account does not have sufficient funds to allocate this port** - This is an INFO notification which is triggered whenever a channel can not be successfully purchased due to insufficient funds.", "58-0": "**31006**", "58-1": "**Your request for lookup has been rejected. Given phone number country code is not supported.**", "59-0": "**31007**", "59-1": "**Lookup for specified phone number is not supported**", "60-0": "**31008**", "60-1": "**Rate could not be found for requested destination number.**", "61-0": "**31010**", "61-1": "**Sorry, we currently do not support that destination for SMS. Please contact support if you need more information.**", "62-0": "**31016**", "62-1": "**Requested phone number CNAM details could not be discovered**", "63-0": "**31019**", "63-1": "**Credit card has been declined**", "64-0": "**31020**", "64-1": "**BNA details could not be discovered for requested phone number**", "65-0": "**31021**", "65-1": "**CNAM details could not be discovered for requested phone number**", "66-0": "**31022**", "66-1": "**Phone number purchase rejected due to low account balance**", "67-0": "**31023**", "67-1": "**Invalid Nickname provided. You need to provide nickname in order to generate application client token**", "68-0": "**32000**", "68-1": "**Invalid source number provided**", "69-0": "**32001**", "69-1": "**Invalid destination number provided**", "70-0": "**32002**", "70-1": "**Sending SMS rejected due to low account balance**", "73-0": "40005", "73-1": "**Bad XML at SMS Request URL** - This is an ERROR notification which is triggered if the InboundXML document provided for an SMS request URL contains errors.", "71-0": "40000", "71-1": "**Inbound SMS Received** - This is an INFO notification which is triggered to let you known an SMS has successfully been delivered.", "72-0": "**40003**", "72-1": "**Source number (From) cannot be the same as destination number (To).**", "74-0": "50001", "74-1": "**Trunk does not allow IncomingNumber to be assigned to it. Prefix not allowed.** - This is an ERROR notification which is triggered whenever an attempt at assigning an incoming number to a channel is made.", "75-0": "50005", "75-1": "**Fatal error transcribing audio** - This is an ERROR notification which is triggered if something wrong while transcribing audio.", "76-0": "**50006**", "76-1": "**Fatal error transcribing audio due to missing or invalid media url**", "77-0": "**50007**", "77-1": "**Internal error playing sound**", "78-0": "**50008**", "78-1": "**Cannot play sound to inactive call**", "79-0": "60000", "79-1": "**POST, PUT, DELETE methods are not allowed** - This is an ERROR notification which is triggered if an attempt at performing a POST, PUT, or DELETE method is made on a resource that does not allow them.", "80-0": "60001", "80-1": "**Only POST method is allowed** - This is an ERROR notification which is triggered if an attempt at performing any method other than POST is made on a resource only allows POST.", "81-0": "61000", "81-1": "**Invalid Member ID** - This is an ERROR notification which is triggered if the Memeber ID attribute provided when interacting with or creating the Conference resource in either our REST API or in InboundXML.", "82-0": "61002", "82-1": "**Conference with specified name cannot be found** - This is an ERROR notification which is triggered if the provided conference name is invalid when looking up conferences through our REST API.", "83-0": "61003", "83-1": "**Invalid or missing Play URL** - This is an ERROR notification which is triggered if the Play URL is missing.", "84-0": "**62001**", "84-1": "**Invalid password provided. Please make sure to pass valid password in order to create SIP credential**", "85-0": "**62002**", "85-1": "**SIP credential for specified username already exist. Please pick different username.**", "86-0": "**62006**", "86-1": "**Domain name is not valid. Please make sure domain name is set and contains only letters, digits and/or dash**", "87-0": "**62013**", "87-1": "**Credential list is already assigned to domain.**", "88-0": "70001", "88-1": "**Country could not be authorized** - This is an ERROR notification which is triggered if Zang encounters difficulty finding a country that a user is attempting to authorize.", "89-0": "70002", "89-1": "**Requested country is not supported** - This is an ERROR notification which is triggered if a user is attempting to request Zang interaction in an unsupported country.", "90-0": "70003", "90-1": "**Requested country is already blocked** - This is an ERROR notification which is triggered if a user is attempting to block a previously blocked country.", "91-0": "70004", "91-1": "**Country could not be removed from whitelisted destinations** - This is an ERROR notification which is triggered if Zang is unable to remove a country from the destination whitelist.", "92-0": "70005", "92-1": "**Outbound call you are trying to make costs more than allowed** - This is an ERROR notification which is triggered when a user is attempting to make a call that costs more than the allowed value.", "93-0": "70006", "93-1": "**You do not have permission to place this call** - This is an ERROR notification which is triggered when a user is attempting to make a call with insufficient permission.", "94-0": "70007", "94-1": "**Country added to blacklisted destinations** - This is an INFO notification which is triggered when a country is successfully added as a blacklisted destination.", "95-0": "70010", "95-1": "**Calls to mobile numbers are disabled by fraud system** - This is an ERROR notification which is triggered when a call to a mobile number in a blocked or unauthorized destination is attempted.**", "96-0": "70010", "96-1": "**Calls to landline numbers are disabled by fraud system** - This is an ERROR notification which is triggered when a call to a landline number in a blocked or unauthorized destination is attempted.", "97-0": "70012", "97-1": "**Authorization has expired and destination has returned to fully blocked status. Call rejected.** - This is an ERROR notification which is triggered when a call to a previously authorized destination is attempted after the authorization period has expired.", "98-0": "70013", "98-1": "**The destination you are trying to call is blocked by fraud system. Please visit http://www.zang.io/fraud-control if you want to authorize or whitelist a destination.** - This is an ERROR notification which is triggered when a call to a blocked destination is attempted.", "99-0": "70014", "99-1": "**You do not have privileges to alter selected destination. Please contact support.** - This is an ERROR notification which is triggered when a user attempts to alter a destination that has been permanently blacklisted by our system.", "100-0": "70100", "100-1": "**Location lookup record for specified phone number cannot be found. Forgot to optin phone number?** - This is an error notification which occurs when attempting to perform a location lookup on phone numbers which have not opted into provide their location.", "101-0": "70101", "101-1": "**Location optin is already requested. Location Optin rejected.** - This is an error notification which occurs when attempting to perform a location lookup on phone numbers which have rejected a previously requested optin.", "102-0": "70102", "102-1": "**Invalid phone number. The phone number corresponds to a land line** - This is an error notification which occurs when attempting to perform a location lookup on landline phone numbers.", "103-0": "70103", "103-1": "**This phone has already successfully opted in to the location service.** - This is an error notification which occurs when attempting a location opt in request on a number that has already previously opted in.", "104-0": "70500", "104-1": "**Please provide a valid FriendlyName.** - This is an ERROR notification which is triggered when attempting to create or update a connect application with an invalid friendlyname.", "105-0": "70501", "105-1": "**Please provide a valid CompanyName.** - This is an ERROR notification which is triggered when attempting to create or update a connect application with an invalid CompanyName.", "106-0": "70502", "106-1": "**Please provide a valid LogoUrl.** - This is an ERROR notification which is triggered when attempting to create or update a connect application with an invalid logo URL.", "107-0": "70503", "107-1": "**Please provide a valid HomepageUrl.** - \n\nThis is an ERROR notification which is triggered when attempting to create or update a connect application with an invalid homepage URL.", "108-0": "70504", "108-1": "**Please provide a valid TosUrl.** - This is an ERROR notification which is triggered when attempting to create or update a connect application with an invalid terms of service URL.", "109-0": "70505", "109-1": "**Please provide a valid AuthorizeUrl.** - This is an ERROR notification which is triggered when attempting to create or update a connect application with an invalid authorize URL.", "110-0": "70506", "110-1": "**Please provide a valid DeauthorizeUrl.** - This is an ERROR notification which is triggered when attempting to create or update a connect application with an invalid deauthorize URL.", "111-0": "70507", "111-1": "**Permission denied! You cannot authorize yourself against your connect application.** - This is an ERROR notification which is triggered when attempting to authorize a connect application with the account that owns it.", "112-0": "70508", "112-1": "**Permission denied! You've already authorized this connect application.** - This is an ERROR notification which is triggered when attempting to authorize a connect application which has already been authorized on the account.", "113-0": "70509", "113-1": "**In order to deauthorize you must first authorize this connect application.** - This is an ERROR notification which is triggered when attempting to deauthorize a connect application which has not yet been authorized on the account.", "114-0": "70510", "114-1": "**Connect user access improperly configured. Please make sure all required keys are set when attempting to connect with Zang helpers!** - This is an ERROR notification which is triggered when attempting to access a Zang connect user with invalid access keys set.", "115-0": "70511", "115-1": "**Zang connect user did not grant the required permissions to access that resource.** - This is an ERROR notification which is triggered when a Zang connect app attempts to access a users resources which require permissions the app has not been granted.", "116-0": "70512", "116-1": "**Permission denied! You cannot access the requested resource as a Zang connect user!** - This is an ERROR notification which is triggered when a Zang connect app attempts to access a users resources which are forbidden to connect apps.", "117-0": "80000", "117-1": "**You don't have permission to send SMS to requested destination ( 'TO' ) number. The customer has requested not to receive messages from your account.** - This is an ERROR notification which is triggered when an attempt is made to send SMS messages to recipients which have invoked the default SMS unsubscribe option Zang provides.", "118-0": "**80001**", "118-1": "**You don't have permission to send SMS to requested destination ( 'TO' ) number. During trial only destinations to US are allowed**" }, "cols": 2, "rows": 119 } [/block]