SocialInviter
  • Get started
  • Change logs
  • REST APIs
    • 1️Authentication APIs (3)
    • 2️Address Book API
    • 3️Get User API
    • 4️Send Message API
    • 5️Post Content API
  • CONFIGURE SERVICES
    • ⭐Setup Google Yahoo etc..
  • Address Book Plugin
    • 1️Plugin Setup
    • 2️Service buttons
    • 3️Customize look & feel
    • 4️Methods & Options
    • 5️Localize content
    • 6️Callbacks
  • Others
    • Supported Services
    • Error Handling
Powered by GitBook
On this page
  • Error format
  • Error code
  • Error type

Was this helpful?

  1. Others

Error Handling

Below are the list of common error you might see from the API response.

Error format

{
  "data": {},
  "status": {
    "type": "error",
    "key": "access_token_fetch_error",
    "message": "Error fetching access token"
  }
}

Error code

Error Code

Description

401

User not authorized

400

Invalid input parameters or invalid input data

Error type

Invalid access token

invalid_access_token

The token might have expired or an invalid token

Invalid domain

invalid_domain

The license key is not registered for this domain, please associate this domain for the purchases license by login to your account.

Invalid session

invalid_session

The session key provided might have expired, please get a new session key using Session API. Note: A session key is valid for 24hours.

Invalid service

invalid_service

The service name passed is not correct, please refer the Supported Service page

Invalid License Key

Invalid_License_key

The License key provided is invalid

This service is not available in your plan

invalid_service

The service requested to import contacts is not available in the purchased plan. Please purchase the required plan for this service and try again.

Missing input

missing_input

Check if you are passing all the input parameters as per the documentation

Missing session

missing_session

Check if you are passing the session value as part of the Header. Note: Session is received from Session API

Invalid redirect url

invalid_redirecturl

The provided redirect url might not matched with the redirect url provided in the APP configuration.

Error occurred while fetching access token

access_token_fetch_error

The provided access token or code, token secret, token verifier could be wrong.

Error occurred while fetching contacts

contacts_fetch_error

Error occurred while fetching the contacts, please contact [email protected] for more help

Something went wrong

something_went_wrong

Error occurred during the operation

PreviousSupported Services

Last updated 5 years ago

Was this helpful?